00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #define LIBSMBIOS_C_MSVC _MSC_VER
00016 #define LIBSMBIOS_C_HAS_FUNCTION
00017 #define LIBSMBIOS_C_HAS_LONG_LONG
00018 #define LIBSMBIOS_C_HAS_DECLSPEC
00019 #define LIBSMBIOS_C_PACKED_ATTR
00020
00021 #ifndef _NATIVE_WCHAR_T_DEFINED
00022 # define LIBSMBIOS_C_NO_INTRINSIC_WCHAR_T
00023 #endif
00024
00025
00026
00027
00028 #ifndef LIBSMBIOS_C_ABI_PREFIX
00029 # define LIBSMBIOS_C_ABI_PREFIX "smbios_c/config/abi/msvc_prefix.h"
00030 #endif
00031 #ifndef LIBSMBIOS_C_ABI_SUFFIX
00032 # define LIBSMBIOS_C_ABI_SUFFIX "smbios_c/config/abi/msvc_suffix.h"
00033 #endif
00034
00035 #if _MSC_VER == 1310
00036 # define LIBSMBIOS_C_COMPILER_VERSION 7.1
00037 # elif _MSC_VER == 1400
00038 # define LIBSMBIOS_C_COMPILER_VERSION 8.0
00039 # elif _MSC_VER == 1500
00040 # define LIBSMBIOS_C_COMPILER_VERSION 9.0
00041 # else
00042 # define LIBSMBIOS_C_COMPILER_VERSION _MSC_VER
00043 #endif
00044
00045 #define LIBSMBIOS_C_COMPILER "Microsoft Visual C++ version " LIBSMBIOS_C_STRINGIZE(LIBSMBIOS_C_COMPILER_VERSION)
00046
00047
00048
00049
00050
00051 #if _MSC_VER < 1400
00052 #error "Compiler looks ancient. Sorry but we dont support it MSVC++ prior to version 8.0."
00053 #endif
00054
00055
00056 #if (_MSC_VER > 1500)
00057 # if defined(LIBSMBIOS_C_ASSERT_CONFIG)
00058 # error "Unknown compiler version - please run the configure tests and report the results"
00059 # else
00060 # pragma message("Unknown compiler version - please run the configure tests and report the results")
00061 # endif
00062 #endif