Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:30:07

0001 //  (C) Copyright John Maddock 2001 - 2003. 
0002 //  (C) Copyright Bill Kempf 2001. 
0003 //  (C) Copyright Aleksey Gurtovoy 2003. 
0004 //  (C) Copyright Rene Rivera 2005.
0005 //  Use, modification and distribution are subject to the 
0006 //  Boost Software License, Version 1.0. (See accompanying file 
0007 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0008 
0009 //  See http://www.boost.org for most recent version.
0010 
0011 //  Win32 specific config options:
0012 
0013 #define BOOST_PLATFORM "Win32"
0014 
0015 //  Get the information about the MinGW runtime, i.e. __MINGW32_*VERSION.
0016 #if defined(__MINGW32__)
0017 #  include <_mingw.h>
0018 #endif
0019 
0020 #if defined(__GNUC__) && !defined(BOOST_NO_SWPRINTF)
0021 #  define BOOST_NO_SWPRINTF
0022 #endif
0023 
0024 //  Default defines for BOOST_SYMBOL_EXPORT and BOOST_SYMBOL_IMPORT
0025 //  If a compiler doesn't support __declspec(dllexport)/__declspec(dllimport),
0026 //  its boost/config/compiler/ file must define BOOST_SYMBOL_EXPORT and
0027 //  BOOST_SYMBOL_IMPORT
0028 #ifndef BOOST_SYMBOL_EXPORT
0029 #  define BOOST_HAS_DECLSPEC
0030 #  define BOOST_SYMBOL_EXPORT __declspec(dllexport)
0031 #  define BOOST_SYMBOL_IMPORT __declspec(dllimport)
0032 #endif
0033 
0034 #if defined(__MINGW32__) && ((__MINGW32_MAJOR_VERSION > 2) || ((__MINGW32_MAJOR_VERSION == 2) && (__MINGW32_MINOR_VERSION >= 0)))
0035 #  define BOOST_HAS_STDINT_H
0036 #  ifndef __STDC_LIMIT_MACROS
0037 #     define __STDC_LIMIT_MACROS
0038 #  endif
0039 #  define BOOST_HAS_DIRENT_H
0040 #  define BOOST_HAS_UNISTD_H
0041 #endif
0042 
0043 #if defined(__MINGW32__) && (__GNUC__ >= 4)
0044 // Mingw has these functions but there are persistent problems
0045 // with calls to these crashing, so disable for now:
0046 //#  define BOOST_HAS_EXPM1
0047 //#  define BOOST_HAS_LOG1P
0048 #  define BOOST_HAS_GETTIMEOFDAY
0049 #endif
0050 //
0051 // Win32 will normally be using native Win32 threads,
0052 // but there is a pthread library avaliable as an option,
0053 // we used to disable this when BOOST_DISABLE_WIN32 was 
0054 // defined but no longer - this should allow some
0055 // files to be compiled in strict mode - while maintaining
0056 // a consistent setting of BOOST_HAS_THREADS across
0057 // all translation units (needed for shared_ptr etc).
0058 //
0059 
0060 #ifndef BOOST_HAS_PTHREADS
0061 #  define BOOST_HAS_WINTHREADS
0062 #endif
0063 
0064 //
0065 // WinCE configuration:
0066 //
0067 #if defined(_WIN32_WCE) || defined(UNDER_CE)
0068 #  define BOOST_NO_ANSI_APIS
0069 // Windows CE does not have a conforming signature for swprintf
0070 #  define BOOST_NO_SWPRINTF
0071 #else
0072 #  define BOOST_HAS_GETSYSTEMTIMEASFILETIME
0073 #  define BOOST_HAS_THREADEX
0074 #  define BOOST_HAS_GETSYSTEMTIMEASFILETIME
0075 #endif
0076 
0077 //
0078 // Windows Runtime
0079 //
0080 #if defined(WINAPI_FAMILY) && \
0081   (WINAPI_FAMILY == WINAPI_FAMILY_APP || WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP)
0082 #  define BOOST_NO_ANSI_APIS
0083 #endif
0084 
0085 #ifndef BOOST_DISABLE_WIN32
0086 // WEK: Added
0087 #define BOOST_HAS_FTIME
0088 #define BOOST_WINDOWS 1
0089 
0090 #endif