Go to the documentation of this file.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 LIBSMBIOS_C_DLL_SPEC __declspec(dllexport)
00038 # else
00039 # define LIBSMBIOS_C_DLL_SPEC __declspec(dllimport)
00040 # endif
00041 #endif
00042
00043 #if defined(LIBSMBIOS_C_HAS_VISIBILITY_ATTR) && defined(LIBSMBIOS_C_ALL_DYN_LINK)
00044 # define LIBSMBIOS_C_DLL_SPEC __attribute__ ((visibility ("default")))
00045 #endif
00046
00047 #ifndef LIBSMBIOS_C_DLL_SPEC
00048 # define LIBSMBIOS_C_DLL_SPEC
00049 #endif
00050
00051 #ifdef __cplusplus
00052 #define EXTERN_C_BEGIN extern "C" {
00053 #define EXTERN_C_END }
00054 #else
00055 #define EXTERN_C_BEGIN
00056 #define EXTERN_C_END
00057 #endif
00058
00059 #ifdef LIBSMBIOS_C_PLATFORM_WIN32
00060 # define WIN32_LEAN_AND_MEAN
00061 # include <windows.h>
00062 #endif
00063
00064 #endif