Fix name mangling when using a C++ compiler (#7)

This commit is contained in:
Anes Belfodil
2020-09-25 14:37:09 -04:00
committed by GitHub
parent 52b1a0f80d
commit 0c6cec978c
11 changed files with 88 additions and 0 deletions

View File

@@ -33,6 +33,10 @@
#ifndef _FREERTOS_POSIX_MQUEUE_H_
#define _FREERTOS_POSIX_MQUEUE_H_
#ifdef __cplusplus
extern "C" {
#endif
/* FreeRTOS+POSIX includes. */
#include "FreeRTOS_POSIX/time.h"
@@ -247,4 +251,8 @@ int mq_timedsend( mqd_t mqdes,
*/
int mq_unlink( const char * name );
#ifdef __cplusplus
}
#endif
#endif /* ifndef _FREERTOS_POSIX_MQUEUE_H_ */