Move semaphore to new ETL_USING_ syntax in platform.h

This commit is contained in:
Julien Hecht 2026-10-15 18:30:17 +02:00
parent 04e5b9b211
commit af4d60f5b4

View File

@ -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.