70 lines
1.9 KiB
C
70 lines
1.9 KiB
C
/* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
* contributor license agreements. See the NOTICE file distributed with
|
|
* this work for additional information regarding copyright ownership.
|
|
* The ASF licenses this file to You under the Apache License, Version 2.0
|
|
* (the "License"); you may not use this file except in compliance with
|
|
* the License. You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
/* Name of package */
|
|
#define PACKAGE "log4cxx"
|
|
|
|
/* Version number of package */
|
|
#define VERSION "@VERSION@"
|
|
|
|
/* Define to 1 if you have the `ftime' function. */
|
|
#define LOG4CXX_HAVE_FTIME 1
|
|
|
|
/* ODBC support through Microsoft ODBC. */
|
|
#define LOG4CXX_HAVE_MS_ODBC 1
|
|
|
|
/* thread support through Microsoft threads. */
|
|
#define LOG4CXX_HAVE_MS_THREAD 1
|
|
|
|
/* ODBC support */
|
|
#define LOG4CXX_HAVE_ODBC 1
|
|
|
|
/* thread support */
|
|
#define LOG4CXX_HAVE_THREAD 1
|
|
|
|
typedef __int64 int64_t;
|
|
|
|
#if defined(WIN32) || defined(_WIN32)
|
|
#pragma warning(disable : 4250 4251 4786 4290)
|
|
#endif
|
|
|
|
#ifdef LOG4CXX_STATIC
|
|
#define LOG4CXX_EXPORT
|
|
// cf. file msvc/static/static.cpp
|
|
#pragma comment(linker, "/include:?ForceSymbolReferences@@YAXXZ")
|
|
#else // DLL
|
|
#ifdef LOG4CXX
|
|
#define LOG4CXX_EXPORT __declspec(dllexport)
|
|
#else
|
|
#define LOG4CXX_EXPORT __declspec(dllimport)
|
|
#endif
|
|
#endif
|
|
|
|
#if !defined(LOG4CXX_HAVE_OLD_WIN32_INTERLOCKS)
|
|
#if defined(_MSC_VER)
|
|
#if _MSC_VER <= 1200
|
|
#define LOG4CXX_HAVE_OLD_WIN32_INTERLOCKS 1
|
|
#else
|
|
#define LOG4CXX_HAVE_OLD_WIN32_INTERLOCKS 0
|
|
#endif
|
|
#else
|
|
#define LOG4CXX_HAVE_OLD_WIN32_INTERLOCKS 0
|
|
#endif
|
|
#endif
|
|
|
|
#define _WIN32_WINNT 0x0400
|
|
|
|
#include <tchar.h>
|