log4cpp: Export.hh Source File

- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# Export.hh

Go to the documentation of this file.

    00001 #ifndef _LOG4CPP_EXPORT_HH
    00002 #define _LOG4CPP_EXPORT_HH
    00003
    00004 #ifdef LOG4CPP_HAS_DLL
    00005 #       ifdef LOG4CPP_BUILD_DLL
    00006 #               if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__MINGW32__)
    00007 #                       define LOG4CPP_EXPORT __declspec(dllexport)
    00008 #               else
    00009 #                       define LOG4CPP_EXPORT
    00010 #               endif
    00011 #       else
    00012 #               if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__MINGW32__)
    00013 #                       define LOG4CPP_EXPORT __declspec(dllimport)
    00014 #               else
    00015 #                       define LOG4CPP_EXPORT
    00016 #               endif
    00017 #       endif
    00018 #else
    00019 #       define LOG4CPP_EXPORT
    00020 #endif
    00021
    00022 #endif // _LOG4CPP_EXPORT_HH
    00023