/usr/include/tango/log4tango/config-win32.h is in liblog4tango5-dev 8.1.2c+dfsg-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | //
// config-win32.hh
//
// Copyright (C) : 2000 - 2002
// LifeLine Networks BV (www.lifeline.nl). All rights reserved.
// Bastiaan Bakker. All rights reserved.
//
// 2004,2005,2006,2007,2008,2009,2010,2011,2012
// Synchrotron SOLEIL
// L'Orme des Merisiers
// Saint-Aubin - BP 48 - France
//
// This file is part of log4tango.
//
// Log4ango is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Log4tango is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with Log4Tango. If not, see <http://www.gnu.org/licenses/>.
#ifndef _INCLUDE_LOG4TANGO_CONFIG_WIN32_H
#define _INCLUDE_LOG4TANGO_CONFIG_WIN32_H 1
/* manually edited from include/log4tango/config.h */
/* Define if you have the syslog function. */
/* #undef LOG4TANGO_HAVE_SYSLOG */
/* Define if you have the `ftime' function. */
#ifndef LOG4TANGO_HAVE_FTIME
# define LOG4TANGO_HAVE_FTIME 1
#endif
/* Define if you have the `gettimeofday' function. */
/* #undef LOG4TANGO_HAVE_GETTIMEOFDAY */
/* define if the compiler has int64_t */
#ifndef LOG4TANGO_HAVE_INT64_T
#define LOG4TANGO_HAVE_INT64_T
//#define int64_t __int64
typedef __int64 int64_t;
#if defined(_MSC_VER) && _MSC_VER < 1300
# define LOG4TANGO_MISSING_INT64_OSTREAM_OP
#endif
#endif
/* Define if you have the <io.h> header file. */
#ifndef LOG4TANGO_HAVE_IO_H
# define LOG4TANGO_HAVE_IO_H 1
#endif
/* Define if you have the <unistd.h> header file. */
/* #undef LOG4TANGO_HAVE_UNISTD_H */
/* Define if you have the idsa library (-lidsa). */
/* #undef LOG4TANGO_HAVE_LIBIDSA */
/* Define if you have the `strcasecmp' function. */
/* #undef LOG4TANGO_HAVE_STRCASECMP */
/* Name of package */
#ifndef LOG4TANGO_PACKAGE
# define LOG4TANGO_PACKAGE "log4tango"
#endif
/* Version number of package */
#ifndef LOG4TANGO_VERSION
# define LOG4TANGO_VERSION "0.3.4"
#endif
/* define if the compiler implements namespaces */
#ifndef LOG4TANGO_HAVE_NAMESPACES
# define LOG4TANGO_HAVE_NAMESPACES 1
#endif
/* define if the compiler has stringstream */
#ifndef LOG4TANGO_HAVE_SSTREAM
# define LOG4TANGO_HAVE_SSTREAM 1
#endif
/* define if the C library has snprintf */
#ifndef LOG4TANGO_HAVE_SNPRINTF
# define LOG4TANGO_HAVE_SNPRINTF 1
#endif
/* define to get around problems with ERROR in windows.h */
#ifndef LOG4TANGO_FIX_ERROR_COLLISION
# define LOG4TANGO_FIX_ERROR_COLLISION 1
#endif
/* define WIN32 for Borland */
#ifndef WIN32
# define WIN32
#endif
/* use threads */
#ifndef LOG4TANGO_HAVE_THREADING
# define LOG4TANGO_HAVE_THREADING
#endif
/* use ms threads */
#ifndef LOG4TANGO_USE_MSTHREADS
# define LOG4TANGO_USE_MSTHREADS
#endif
/* supply DLL main */
#ifndef LOG4TANGO_SUPPLY_DLLMAIN
# define LOG4TANGO_SUPPLY_DLLMAIN
#endif
/* MSVCs <cstdlib> and <cstring> headers are broken in the sense that they
put functions in the global namespace instead of std::
The #defines below enable a workaround for MSVC 6 and lower. If MSVC 7
is still broken please adjust the _MSC_VER version check and report it.
See also bug report #628211.
*/
#if defined(_MSC_VER) && _MSC_VER < 1300
#ifndef LOG4TANGO_CSTDLIB_NOT_IN_STD
# define LOG4TANGO_CSTDLIB_NOT_IN_STD
#endif
#ifndef LOG4TANGO_CSTRING_NOT_IN_STD
# define LOG4TANGO_CSTRING_NOT_IN_STD
#endif
#ifndef LOG4TANGO_CTIME_NOT_IN_STD
# define LOG4TANGO_CTIME_NOT_IN_STD
#endif
#ifndef LOG4TANGO_CMATH_NOT_IN_STD
# define LOG4TANGO_CMATH_NOT_IN_STD
#endif
#endif
/* define mode_t. Move to Portability.hh if more platforms need it */
namespace log4tango
{
typedef unsigned short mode_t;
}
/* _INCLUDE_LOG4TANGO_CONFIG_WIN32_H */
#endif
|