log4c  1.2.1
config-win32.h
1 /* $Id$
2  *
3  * See the COPYING file for the terms of usage and distribution.
4  */
5 
6 /* This file defines some labels as required for
7  compiling with Microsoft Visual C++ 6
8 */
9 
10 #ifndef __log4c_config_win32_h
11 #define __log4c_config_win32_h
12 
13 #include <time.h>
14 #include <windows.h>
15 #include <winsock.h>
16 
17 #undef LOG4C_API
18 #ifdef LOG4C_EXPORTS
19 # define LOG4C_API __declspec(dllexport)
20 #else
21 # define LOG4C_API extern __declspec(dllimport)
22 #endif
23 
24 #undef LOG4C_DATA
25 #ifdef LOG4C_EXPORTS
26 # define LOG4C_DATA __declspec(dllexport)
27 #else
28 # define LOG4C_DATA extern __declspec(dllimport)
29 #endif
30 
31 
32 /* This is defined to be 'inline' by default,
33  but with msvc6 undef it so that inlined
34  functions are just normal functions.
35 */
36 #undef LOG4C_INLINE
37 #define LOG4C_INLINE
38 
39 
40 #endif /* __log4c_config_win32_h */