Go to the documentation of this file.
20 #ifndef LIBSMBIOS_C_COMPAT_H_INCLUDED
21 #define LIBSMBIOS_C_COMPAT_H_INCLUDED
23 #ifdef LIBSMBIOS_C_SOURCE
24 #include "libsmbios_c_source.h"
35 #if defined(LIBSMBIOS_C_HAS_DECLSPEC) && defined(LIBSMBIOS_C_ALL_DYN_LINK)
36 # if defined(LIBSMBIOS_C_SOURCE)
37 # define LIBSMBIOS_C_DLL_SPEC __declspec(dllexport)
39 # define LIBSMBIOS_C_DLL_SPEC __declspec(dllimport)
43 #if defined(LIBSMBIOS_C_HAS_VISIBILITY_ATTR) && defined(LIBSMBIOS_C_ALL_DYN_LINK)
44 # define LIBSMBIOS_C_DLL_SPEC __attribute__ ((visibility ("default")))
47 #ifndef LIBSMBIOS_C_DLL_SPEC
48 # define LIBSMBIOS_C_DLL_SPEC
52 #define EXTERN_C_BEGIN extern "C" {
53 #define EXTERN_C_END }
55 #define EXTERN_C_BEGIN
59 #ifdef LIBSMBIOS_C_PLATFORM_WIN32
60 # define WIN32_LEAN_AND_MEAN