![]() |
|
|||
File indexing completed on 2025-05-12 09:08:09
0001 #ifndef DLL_H_62B23520_7C8E_11DE_8A39_0800200C9A66 0002 #define DLL_H_62B23520_7C8E_11DE_8A39_0800200C9A66 0003 0004 #if defined(_MSC_VER) || \ 0005 (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \ 0006 (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4 0007 #pragma once 0008 #endif 0009 0010 // The following ifdef block is the standard way of creating macros which make 0011 // exporting from a DLL simpler. All files within this DLL are compiled with the 0012 // yaml_cpp_EXPORTS symbol defined on the command line. This symbol should not 0013 // be defined on any project that uses this DLL. This way any other project 0014 // whose source files include this file see YAML_CPP_API functions as being 0015 // imported from a DLL, whereas this DLL sees symbols defined with this macro as 0016 // being exported. 0017 #undef YAML_CPP_API 0018 0019 #ifdef YAML_CPP_DLL // Using or Building YAML-CPP DLL (definition defined 0020 // manually) 0021 #ifdef yaml_cpp_EXPORTS // Building YAML-CPP DLL (definition created by CMake 0022 // or defined manually) 0023 // #pragma message( "Defining YAML_CPP_API for DLL export" ) 0024 #define YAML_CPP_API __declspec(dllexport) 0025 #else // yaml_cpp_EXPORTS 0026 // #pragma message( "Defining YAML_CPP_API for DLL import" ) 0027 #define YAML_CPP_API __declspec(dllimport) 0028 #endif // yaml_cpp_EXPORTS 0029 #else // YAML_CPP_DLL 0030 #define YAML_CPP_API 0031 #endif // YAML_CPP_DLL 0032 0033 #endif // DLL_H_62B23520_7C8E_11DE_8A39_0800200C9A66
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |