00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef LIBSMBIOS_C_COMPAT_H_INCLUDED
00021 #define LIBSMBIOS_C_COMPAT_H_INCLUDED
00022
00023 #ifdef LIBSMBIOS_C_SOURCE
00024 #include "libsmbios_c_source.h"
00025 #endif
00026
00027 #include "smbios_c/config/get_config.h"
00028 #include "smbios_c/config/auto_link.h"
00029
00030
00031
00032
00033
00034
00035 #if defined(LIBSMBIOS_C_HAS_DECLSPEC) && defined(LIBSMBIOS_C_ALL_DYN_LINK)
00036 # if defined(LIBSMBIOS_C_SOURCE)
00037 # define DLL_SPEC __declspec(dllexport)
00038 # else
00039 # define DLL_SPEC __declspec(dllimport)
00040 # endif
00041 #endif
00042
00043 #ifndef DLL_SPEC
00044 # define DLL_SPEC
00045 #endif
00046
00047 #ifdef __cplusplus
00048 #define EXTERN_C_BEGIN extern "C" {
00049 #define EXTERN_C_END }
00050 #else
00051 #define EXTERN_C_BEGIN
00052 #define EXTERN_C_END
00053 #endif
00054
00055 #ifdef LIBSMBIOS_C_PLATFORM_WIN32
00056 # define WIN32_LEAN_AND_MEAN
00057 # include <windows.h>
00058 #endif
00059
00060 #endif