log4cpp 1.1

Export.hh

Go to the documentation of this file.
00001 /*
00002  * Copyright 2002, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
00003  * Copyright 2002, Bastiaan Bakker. All rights reserved.
00004  *
00005  * See the COPYING file for the terms of usage and distribution.
00006  */
00007 
00008 #ifndef _LOG4CPP_EXPORT_HH
00009 #define _LOG4CPP_EXPORT_HH
00010 
00011 #ifdef LOG4CPP_HAS_DLL
00012 #       ifdef LOG4CPP_BUILD_DLL
00013 #               if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__MINGW32__)
00014 #                       define LOG4CPP_EXPORT __declspec(dllexport)
00015 #               else
00016 #                       define LOG4CPP_EXPORT
00017 #               endif 
00018 #       else
00019 #               if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__MINGW32__)
00020 #                       define LOG4CPP_EXPORT __declspec(dllimport)
00021 #               else
00022 #                       define LOG4CPP_EXPORT
00023 #               endif 
00024 #       endif
00025 #else
00026 #       define LOG4CPP_EXPORT 
00027 #endif
00028 
00029 #endif // _LOG4CPP_EXPORT_HH
00030 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines