Go to the documentation of this file.
17 # if defined(LIBSMBIOS_HAS_UNISTD_H)
21 # if defined(_XOPEN_VERSION) && (_XOPEN_VERSION >= 3)
22 # define LIBSMBIOS_HAS_NL_TYPES_H
26 # if defined(_POSIX_VERSION) && (_POSIX_VERSION >= 200100)
27 # define LIBSMBIOS_HAS_STDINT_H
31 # if defined(_POSIX_VERSION) && (_POSIX_VERSION >= 199009L)
32 # define LIBSMBIOS_HAS_DIRENT_H
36 # if defined(_POSIX_VERSION) && (_POSIX_VERSION >= 199506L)
37 # define LIBSMBIOS_HAS_SIGACTION
45 # if defined(_POSIX_THREADS) && (_POSIX_THREADS+0 >= 0) && !defined(LIBSMBIOS_HAS_WINTHREADS) && !defined(LIBSMBIOS_HAS_MPTASKS)
46 # define LIBSMBIOS_HAS_PTHREADS
51 # if (defined(_POSIX_TIMERS) && (_POSIX_TIMERS+0 >= 0)) \
52 || (defined(_XOPEN_REALTIME) && (_XOPEN_REALTIME+0 >= 0))
53 # define LIBSMBIOS_HAS_NANOSLEEP
60 # if (defined(_POSIX_TIMERS) && (_POSIX_TIMERS+0 >= 0))
61 # define LIBSMBIOS_HAS_CLOCK_GETTIME
67 # if defined(_POSIX_PRIORITY_SCHEDULING) && (_POSIX_PRIORITY_SCHEDULING+0 > 0)\
68 || (defined(_POSIX_THREAD_PRIORITY_SCHEDULING) && (_POSIX_THREAD_PRIORITY_SCHEDULING+0 > 0))\
69 || (defined(_XOPEN_REALTIME) && (_XOPEN_REALTIME+0 >= 0))
70 # define LIBSMBIOS_HAS_SCHED_YIELD
77 # if defined(_XOPEN_VERSION) && (_XOPEN_VERSION+0 >= 500)
78 # define LIBSMBIOS_HAS_GETTIMEOFDAY
79 # if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
80 # define LIBSMBIOS_HAS_PTHREAD_MUTEXATTR_SETTYPE