log4c 1.2.1
config-win32.h
00001 /* $Id$
00002  *
00003  * See the COPYING file for the terms of usage and distribution.
00004  */
00005 
00006 /* This file defines some labels as required for
00007    compiling with Microsoft Visual C++ 6
00008 */
00009 
00010 #ifndef __log4c_config_win32_h
00011 #define __log4c_config_win32_h
00012 
00013 #include <time.h>
00014 #include <windows.h>
00015 #include <winsock.h>
00016 
00017 #undef LOG4C_API
00018 #ifdef LOG4C_EXPORTS
00019 #    define LOG4C_API         __declspec(dllexport)
00020 #else
00021 #    define LOG4C_API       extern __declspec(dllimport)
00022 #endif
00023 
00024 #undef LOG4C_DATA
00025 #ifdef LOG4C_EXPORTS
00026 #    define LOG4C_DATA        __declspec(dllexport)
00027 #else
00028 #    define LOG4C_DATA       extern __declspec(dllimport)
00029 #endif
00030 
00031 
00032 /* This is defined to be 'inline' by default,
00033    but with msvc6 undef it so that inlined
00034    functions are just normal functions.
00035 */
00036 #undef LOG4C_INLINE
00037 #define LOG4C_INLINE
00038 
00039 
00040 #endif /* __log4c_config_win32_h */