mirror of
https://github.com/ETLCPP/etl.git
synced 2026-10-28 18:07:10 +08:00
Move semaphore to new ETL_USING_ syntax in platform.h
This commit is contained in:
parent
04e5b9b211
commit
af4d60f5b4
@ -115,12 +115,11 @@ SOFTWARE.
|
||||
//*************************************
|
||||
// Helper macros for ETL_NO_STD_SEMAPHORE.
|
||||
#if defined(ETL_NO_STD_SEMAPHORE)
|
||||
#define ETL_USING_STD_SEMAPHORE 0
|
||||
#define ETL_NOT_USING_STD_SEMAPHORE 1
|
||||
#define ETL_USING_STD_SEMAPHORE 0
|
||||
#else
|
||||
#define ETL_USING_STD_SEMAPHORE 1
|
||||
#define ETL_NOT_USING_STD_SEMAPHORE 0
|
||||
#define ETL_USING_STD_SEMAPHORE 1
|
||||
#endif
|
||||
#define ETL_NOT_USING_STD_SEMAPHORE (1 - ETL_USING_STD_SEMAPHORE)
|
||||
|
||||
//*************************************
|
||||
// Helper macros for ETL_STLPORT.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user