00001 // Copyright (C) 2009, Vaclav Haisman. All rights reserved. 00002 // 00003 // Redistribution and use in source and binary forms, with or without modifica- 00004 // tion, are permitted provided that the following conditions are met: 00005 // 00006 // 1. Redistributions of source code must retain the above copyright notice, 00007 // this list of conditions and the following disclaimer. 00008 // 00009 // 2. Redistributions in binary form must reproduce the above copyright notice, 00010 // this list of conditions and the following disclaimer in the documentation 00011 // and/or other materials provided with the distribution. 00012 // 00013 // THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, 00014 // INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 00015 // FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 00016 // APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 00017 // INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU- 00018 // DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 00019 // OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 00020 // ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 00021 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 00022 // THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00023 00024 #ifndef LOG4CPLUS_CONFIG_HXX 00025 #define LOG4CPLUS_CONFIG_HXX 00026 00027 #include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */ 00028 00029 #if defined (_WIN32) 00030 # include "dcmtk/oflog/config/win32.h" 00031 #elif (defined(__MWERKS__) && defined(__MACOS__)) 00032 # include "dcmtk/oflog/config/macosx.h" 00033 #else 00034 # include "dcmtk/oflog/config/defines.h" 00035 #endif 00036 00037 #if !defined(_WIN32) 00038 # if !defined(LOG4CPLUS_SINGLE_THREADED) 00039 # define LOG4CPLUS_USE_PTHREADS 00040 # endif 00041 # if defined (INSIDE_LOG4CPLUS) 00042 # define LOG4CPLUS_EXPORT LOG4CPLUS_DECLSPEC_EXPORT 00043 # else 00044 # define LOG4CPLUS_EXPORT LOG4CPLUS_DECLSPEC_IMPORT 00045 # endif // defined (INSIDE_LOG4CPLUS) 00046 #endif // !_WIN32 00047 00048 #include "dcmtk/oflog/helpers/threadcf.h" 00049 00050 00051 #endif // LOG4CPLUS_CONFIG_HXX