diff --git a/src/platform.h b/src/platform.h index fd14a71d..1f221d7c 100644 --- a/src/platform.h +++ b/src/platform.h @@ -29,10 +29,17 @@ SOFTWARE. ******************************************************************************/ // Define the platform. +// For FreeRTOS you must define ETL_PLATFORM_FREERTOS in the project settings. #if defined(__linux__) #define ETL_PLATFORM_LINUX #elif defined(WIN32) || defined(WIN64) #define ETL_PLATFORM_WINDOWS +#elif defined(__VXWORKS__) || defined(_WRS_VXWORKS_MAJOR) +#define ETL_PLATFORM_VXWORKS +#elif defined(__QNX__) || defined(__QNXNTO__) +#define ETL_PLATFORM_QNX +#elif defined(_WIN32_WCE) +#define ETL_PLATFORM_WINDOWS_CE #else #define ETL_PLATFORM_GENERIC #endif @@ -58,7 +65,7 @@ SOFTWARE. #if (defined(ETL_COMPILER_MICROSOFT) && (_MSC_VER < 1600)) || \ defined(ETL_COMPILER_KEIL) || \ - || defined(ETL_COMPILER_TI_MSP430) \ + defined(ETL_COMPILER_TI_MSP430) || \ defined(ETL_COMPILER_IAR) || \ (defined(ETL_COMPILER_GCC) && (__cplusplus < 201103L)) #define NO_NULLPTR_SUPPORT