mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +08:00
Add define for _POSIX_TIMEOUTS
This commit is contained in:
committed by
Xiang Xiao
parent
2aa2b7669f
commit
e945f2da86
+6
-1
@@ -55,7 +55,12 @@
|
|||||||
#undef _POSIX_MAPPED_FILES
|
#undef _POSIX_MAPPED_FILES
|
||||||
#undef _POSIX_SHARED_MEMORY_OBJECTS
|
#undef _POSIX_SHARED_MEMORY_OBJECTS
|
||||||
#define _POSIX_PRIORITY_SCHEDULING 1
|
#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
|
||||||
#undef _POSIX_MEMLOCK_RANGE
|
#undef _POSIX_MEMLOCK_RANGE
|
||||||
#undef _POSIX_FSYNC
|
#undef _POSIX_FSYNC
|
||||||
|
|||||||
Reference in New Issue
Block a user