Go to the documentation of this file.
11 #define LIBSMBIOS_PLATFORM "linux"
12 #define LIBSMBIOS_PLATFORM_LINUX
29 #define FSEEK(fh, pos, whence) fseeko(fh, static_cast<off_t>(pos), whence)
36 #if defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 1)))
41 # define LIBSMBIOS_HAS_STDINT_H
45 #if defined(__LIBCOMO__)
51 # if __LIBCOMO_VERSION__ <= 20
52 # define LIBSMBIOS_NO_STDC_NAMESPACE
55 # if __LIBCOMO_VERSION__ <= 21
56 # define LIBSMBIOS_NO_SWPRINTF
65 #if defined(__GLIBC__) && (__GLIBC__ >= 2)
66 # define LIBSMBIOS_HAS_GETTIMEOFDAY
69 #ifdef __USE_POSIX199309
70 # define LIBSMBIOS_HAS_NANOSLEEP
73 #if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
77 # if !__GLIBC_PREREQ(2,2) || (!defined(__USE_ISOC99) && !defined(__USE_UNIX98))
78 # define LIBSMBIOS_NO_SWPRINTF
81 # define LIBSMBIOS_NO_SWPRINTF
85 #define LIBSMBIOS_HAS_UNISTD_H
94 # ifndef __extension__
95 # define __extension__
98 # define __const__ const
100 # ifndef __volatile__
101 # define __volatile__ volatile
104 # define __signed__ signed
107 # define __typeof__ typeof
110 # define __inline__ inline