mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 14:49:53 +08:00
Added more OS platforms.
This commit is contained in:
parent
31006a5bf1
commit
ea3132caa0
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user