Go to the documentation of this file.
12 #define LIBSMBIOS_PLATFORM "Win32"
13 #define LIBSMBIOS_PLATFORM_WIN32
17 #define LIBSMBIOS_HAS_ARCH_TABLE_CLASS
20 #define FSEEK(fh, pos, whence) fseek(fh, static_cast<long>(pos), whence)
22 #if defined(__GNUC__) && !defined(LIBSMBIOS_NO_SWPRINTF)
23 # define LIBSMBIOS_NO_SWPRINTF
26 #if !defined(__GNUC__) && !defined(LIBSMBIOS_HAS_DECLSPEC)
27 # define LIBSMBIOS_HAS_DECLSPEC
30 #if defined(__MINGW32__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 2)))
31 # define LIBSMBIOS_HAS_STDINT_H
32 # define __STDC_LIMIT_MACROS
36 #define LIBSMBIOS_NO_STDC_NAMESPACE
47 #ifndef LIBSMBIOS_HAS_PTHREADS
48 # define LIBSMBIOS_HAS_WINTHREADS
51 #ifndef LIBSMBIOS_DISABLE_WIN32
53 #define LIBSMBIOS_HAS_FTIME
77 inline long min(
long __a,
long __b) {
78 return __b < __a ? __b : __a;
80 inline long max(
long __a,
long __b) {
81 return __a < __b ? __b : __a;
86 inline long double min(
long double __a,
long double __b) {
87 return __b < __a ? __b : __a;
89 inline long double max(
long double __a,
long double __b) {
90 return __a < __b ? __b : __a;