dll.h
Go to the documentation of this file.
1 #ifndef DLL_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
2 #define DLL_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
3 
4 #if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4
5 #pragma once
6 #endif
7 
8 // The following ifdef block is the standard way of creating macros which make exporting
9 // from a DLL simpler. All files within this DLL are compiled with the yaml_cpp_EXPORTS
10 // symbol defined on the command line. this symbol should not be defined on any project
11 // that uses this DLL. This way any other project whose source files include this file see
12 // YAML_CPP_API functions as being imported from a DLL, whereas this DLL sees symbols
13 // defined with this macro as being exported.
14 #undef YAML_CPP_API
15 
16 #ifdef YAML_CPP_DLL // Using or Building YAML-CPP DLL (definition defined manually)
17  #ifdef yaml_cpp_EXPORTS // Building YAML-CPP DLL (definition created by CMake or defined manually)
18  // #pragma message( "Defining YAML_CPP_API for DLL export" )
19  #define YAML_CPP_API __declspec(dllexport)
20  #else // yaml_cpp_EXPORTS
21  // #pragma message( "Defining YAML_CPP_API for DLL import" )
22  #define YAML_CPP_API __declspec(dllimport)
23  #endif // yaml_cpp_EXPORTS
24 #else //YAML_CPP_DLL
25 #define YAML_CPP_API
26 #endif // YAML_CPP_DLL
27 
28 #endif // DLL_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM


mp2p_icp
Author(s):
autogenerated on Wed Oct 23 2024 02:45:38