mirror of https://github.com/ARMmbed/mbed-os.git
equeue: Removed RTOS dependencies when RTOS not present
parent
6dd4cf0b6d
commit
47d7fc1b6d
|
@ -49,7 +49,7 @@ extern "C" {
|
||||||
// Platform includes
|
// Platform includes
|
||||||
#if defined(EQUEUE_PLATFORM_POSIX)
|
#if defined(EQUEUE_PLATFORM_POSIX)
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#elif defined(EQUEUE_PLATFORM_MBED)
|
#elif defined(EQUEUE_PLATFORM_MBED) && defined(MBED_CONF_RTOS_PRESENT)
|
||||||
#include "cmsis_os2.h"
|
#include "cmsis_os2.h"
|
||||||
#include "mbed_rtos_storage.h"
|
#include "mbed_rtos_storage.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue