00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #define LIBSMBIOS_PLATFORM "Win64"
00013 #define LIBSMBIOS_PLATFORM_WIN64
00014
00015
00016
00017 #define LIBSMBIOS_HAS_ARCH_TABLE_CLASS
00018
00019
00020 #ifndef FSEEK
00021 #define FSEEK(fh, pos, whence) fseek(fh, static_cast<long>(pos), whence)
00022 #endif
00023
00024 #if defined(__GNUC__) && !defined(LIBSMBIOS_NO_SWPRINTF)
00025 # define LIBSMBIOS_NO_SWPRINTF
00026 #endif
00027
00028 #if !defined(__GNUC__) && !defined(LIBSMBIOS_HAS_DECLSPEC)
00029 # define LIBSMBIOS_HAS_DECLSPEC
00030 #endif
00031
00032 #if defined(__MINGW32__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 2)))
00033 # define LIBSMBIOS_HAS_STDINT_H
00034 # define __STDC_LIMIT_MACROS
00035 #endif
00036
00037
00038 #define LIBSMBIOS_NO_STDC_NAMESPACE
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049 #ifndef LIBSMBIOS_HAS_PTHREADS
00050 # define LIBSMBIOS_HAS_WINTHREADS
00051 #endif
00052
00053 #ifndef LIBSMBIOS_DISABLE_WIN64
00054
00055 #define LIBSMBIOS_HAS_FTIME
00056
00057 #endif
00058
00059
00060
00061
00062 #ifdef min
00063 # undef min
00064 #endif
00065 #ifdef max
00066 # undef max
00067 #endif
00068 #ifndef NOMINMAX
00069 # define NOMINMAX
00070 #endif
00071
00072 #ifdef LIBSMBIOS_MSVC
00073 #include <algorithm>
00074 namespace std{
00075
00076
00077
00078
00079 inline long min(long __a, long __b) {
00080 return __b < __a ? __b : __a;
00081 }
00082 inline long max(long __a, long __b) {
00083 return __a < __b ? __b : __a;
00084 }
00085
00086
00087
00088 inline long double min(long double __a, long double __b) {
00089 return __b < __a ? __b : __a;
00090 }
00091 inline long double max(long double __a, long double __b) {
00092 return __a < __b ? __b : __a;
00093 }
00094 }
00095 using std::min;
00096 using std::max;
00097 # endif
00098
00099