config-win32.h
Go to the documentation of this file.
00001 #ifndef _INCLUDE_LOG4CPP_CONFIG_WIN32_H
00002 #define _INCLUDE_LOG4CPP_CONFIG_WIN32_H 1
00003 
00004 /* manually edited from include/log4cpp/config.h */
00005 
00006 /* Define if you have the syslog function.  */
00007 /* #undef LOG4CPP_HAVE_SYSLOG */
00008 
00009 /* Define if you have the `ftime' function. */
00010 #ifndef LOG4CPP_HAVE_FTIME
00011 #define LOG4CPP_HAVE_FTIME  1
00012 #endif
00013 
00014 /* Define if you have the `gettimeofday' function. */
00015 /* #undef LOG4CPP_HAVE_GETTIMEOFDAY */
00016 
00017 /* define if the compiler has int64_t */
00018 #ifndef LOG4CPP_HAVE_INT64_T
00019 #define LOG4CPP_HAVE_INT64_T
00020 //#define int64_t __int64
00021 typedef __int64 int64_t;
00022 
00023 /* define if the compiler has in_addr_t */
00024 #ifndef LOG4CPP_HAVE_IN_ADDR_T
00025 #define LOG4CPP_HAVE_IN_ADDR_T
00026 
00027 #ifndef u_long
00028 typedef unsigned long u_long;
00029 #endif
00030 
00031 /* u_long is the type of in_addr.s_addr */
00032 typedef u_long in_addr_t;
00033 
00034 /* u_short is the type of sockaddr_in.sin_port */
00035 // typedef u_short      in_port_t;
00036 
00037 #endif
00038 
00039 #if defined(_MSC_VER) && _MSC_VER < 1300
00040 #define LOG4CPP_MISSING_INT64_OSTREAM_OP
00041 #endif
00042 
00043 #endif
00044 
00045 /* Define if you have the <io.h> header file.  */
00046 #ifndef LOG4CPP_HAVE_IO_H
00047 #define LOG4CPP_HAVE_IO_H 1
00048 #endif
00049 
00050 /* Define if you have the <unistd.h> header file.  */
00051 /* #undef LOG4CPP_HAVE_UNISTD_H */
00052 
00053 /* Define if you have the idsa library (-lidsa).  */
00054 /* #undef LOG4CPP_HAVE_LIBIDSA */
00055 
00056 /* Define if you have the `strcasecmp' function. */
00057 /* #undef LOG4CPP_HAVE_STRCASECMP */
00058 
00059 /* Name of package */
00060 #ifndef LOG4CPP_PACKAGE
00061 #define LOG4CPP_PACKAGE  "log4cpp"
00062 #endif
00063 
00064 /* Version number of package */
00065 #ifndef LOG4CPP_VERSION
00066 #define LOG4CPP_VERSION  "0.3.5"
00067 #endif
00068 
00069 /* define if the compiler implements namespaces */
00070 #ifndef LOG4CPP_HAVE_NAMESPACES
00071 #define LOG4CPP_HAVE_NAMESPACES 1
00072 #endif
00073 
00074 /* define if the compiler has stringstream */
00075 #ifndef LOG4CPP_HAVE_SSTREAM
00076 #define LOG4CPP_HAVE_SSTREAM 1
00077 #endif
00078 
00079 #define LOG4CPP_HAS_WCHAR_T 1
00080 
00081 /* define if the C library has snprintf */
00082 #ifndef LOG4CPP_HAVE_SNPRINTF
00083 #define LOG4CPP_HAVE_SNPRINTF 1
00084 #endif
00085 
00086 #if defined(_MSC_VER) && _MSC_VER >= 1400
00087 #define LOG4CPP_HAVE_LOCALTIME_R 1
00088 #endif
00089 
00090 /* define to get around problems with ERROR in windows.h */
00091 #ifndef LOG4CPP_FIX_ERROR_COLLISION
00092 #define LOG4CPP_FIX_ERROR_COLLISION 1
00093 #endif
00094 
00095 /* define WIN32 for Borland */
00096 #ifndef WIN32
00097 #define WIN32
00098 #endif
00099 
00100 /* use threads */
00101 #ifndef LOG4CPP_HAVE_THREADING
00102 #define LOG4CPP_HAVE_THREADING
00103 #endif
00104 
00105 /* use ms threads */
00106 #ifndef LOG4CPP_USE_MSTHREADS
00107 #define LOG4CPP_USE_MSTHREADS
00108 #endif
00109 
00110 /* supply DLL main */
00111 #ifndef LOG4CPP_SUPPLY_DLLMAIN
00112 #define LOG4CPP_SUPPLY_DLLMAIN
00113 #endif
00114 
00115 /* MSVCs <cstdlib> and <cstring> headers are broken in the sense that they
00116    put functions in the global namespace instead of std::
00117    The #defines below enable a workaround for MSVC 6 and lower. If MSVC 7
00118    is still broken please adjust the _MSC_VER version check and report it.
00119    See also bug report #628211.
00120 */
00121 #if defined(_MSC_VER) && _MSC_VER < 1300
00122 
00123 #ifndef LOG4CPP_CSTDLIB_NOT_IN_STD
00124 #define LOG4CPP_CSTDLIB_NOT_IN_STD
00125 #endif
00126 
00127 #ifndef LOG4CPP_CSTRING_NOT_IN_STD
00128 #define LOG4CPP_CSTRING_NOT_IN_STD
00129 #endif
00130 
00131 #ifndef LOG4CPP_CTIME_NOT_IN_STD
00132 #define LOG4CPP_CTIME_NOT_IN_STD
00133 #endif
00134 
00135 #ifndef LOG4CPP_CMATH_NOT_IN_STD
00136 #define LOG4CPP_CMATH_NOT_IN_STD
00137 #endif
00138 
00139 #endif
00140 
00141 /* define mode_t. Move to Portability.hh if more platforms need it */
00142 #if !defined(__BORLANDC__)
00143 #ifndef LOG4CPP_HAVE_MODE_T
00144 #define LOG4CPP_HAVE_MODE_T
00145 typedef int mode_t;
00146 #endif
00147 #endif
00148 
00149 #if defined(_MSC_VER) && _MSC_VER == 1310
00150 // warning C4275: interface non dll class 'std::runtime_error' utilisée comme base
00151 // d'une interface dll class 'log4cpp::ConfigureFailure'
00152 #pragma warning(disable: 4275)
00153 #endif
00154 
00155 /* _INCLUDE_LOG4CPP_CONFIG_WIN32_H */
00156 #endif


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 18:42:46