Go to the documentation of this file.
11 #define LIBSMBIOS_PLATFORM "linux"
12 #define LIBSMBIOS_PLATFORM_LINUX
28 #define FSEEK(fh, pos, whence) fseeko(fh, static_cast<off_t>(pos), whence)
34 #if defined(__GLIBC__) && ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 1)))
39 # define LIBSMBIOS_HAS_STDINT_H
43 #if defined(__LIBCOMO__)
49 # if __LIBCOMO_VERSION__ <= 20
50 # define LIBSMBIOS_NO_STDC_NAMESPACE
53 # if __LIBCOMO_VERSION__ <= 21
54 # define LIBSMBIOS_NO_SWPRINTF
63 #if defined(__GLIBC__) && (__GLIBC__ >= 2)
64 # define LIBSMBIOS_HAS_GETTIMEOFDAY
67 #ifdef __USE_POSIX199309
68 # define LIBSMBIOS_HAS_NANOSLEEP
71 #if defined(__GLIBC__) && defined(__GLIBC_PREREQ)
75 # if !__GLIBC_PREREQ(2,2) || (!defined(__USE_ISOC99) && !defined(__USE_UNIX98))
76 # define LIBSMBIOS_NO_SWPRINTF
79 # define LIBSMBIOS_NO_SWPRINTF
83 #define LIBSMBIOS_HAS_UNISTD_H
92 # ifndef __extension__
93 # define __extension__
96 # define __const__ const
99 # define __volatile__ volatile
102 # define __signed__ signed
105 # define __typeof__ typeof
108 # define __inline__ inline