Add define for _POSIX_TIMEOUTS

This commit is contained in:
Brennan Ashton 2021-04-10 22:49:34 -07:00 committed by Xiang Xiao
parent 2aa2b7669f
commit e945f2da86

View File

@ -55,7 +55,12 @@
#undef _POSIX_MAPPED_FILES
#undef _POSIX_SHARED_MEMORY_OBJECTS
#define _POSIX_PRIORITY_SCHEDULING 1
#define _POSIX_TIMERS 1
#ifndef CONFIG_DISABLE_POSIX_TIMERS
# define _POSIX_TIMERS 1
#endif
#if !defined(CONFIG_DISABLE_MQUEUE) && !defined(CONFIG_DISABLE_PTHREAD)
# define _POSIX_TIMEOUTS 1
#endif
#undef _POSIX_MEMLOCK
#undef _POSIX_MEMLOCK_RANGE
#undef _POSIX_FSYNC