log4cpp  1.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Export.hh
Go to the documentation of this file.
1 #ifndef _LOG4CPP_EXPORT_HH
2 #define _LOG4CPP_EXPORT_HH
3 
4 #ifdef LOG4CPP_HAS_DLL
5 # ifdef LOG4CPP_BUILD_DLL
6 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__MINGW32__)
7 # define LOG4CPP_EXPORT __declspec(dllexport)
8 # else
9 # define LOG4CPP_EXPORT
10 # endif
11 # else
12 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__MINGW32__)
13 # define LOG4CPP_EXPORT __declspec(dllimport)
14 # else
15 # define LOG4CPP_EXPORT
16 # endif
17 # endif
18 #else
19 # define LOG4CPP_EXPORT
20 #endif
21 
22 #endif // _LOG4CPP_EXPORT_HH
23