win32.hpp
Go to the documentation of this file.
00001 //  (C) Copyright John Maddock 2001 - 2003. 
00002 //  (C) Copyright Bill Kempf 2001. 
00003 //  (C) Copyright Aleksey Gurtovoy 2003. 
00004 //  (C) Copyright Rene Rivera 2005.
00005 //  Use, modification and distribution are subject to the 
00006 //  Boost Software License, Version 1.0. (See accompanying file 
00007 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00008 
00009 //  See http://www.boost.org for most recent version.
00010 
00011 //  Win32 specific config options:
00012 
00013 #define BOOST_PLATFORM "Win32"
00014 
00015 //  Get the information about the MinGW runtime, i.e. __MINGW32_*VERSION.
00016 #if defined(__MINGW32__)
00017 #  include <_mingw.h>
00018 #endif
00019 
00020 #if defined(__GNUC__) && !defined(BOOST_NO_SWPRINTF)
00021 #  define BOOST_NO_SWPRINTF
00022 #endif
00023 
00024 #if !defined(__GNUC__) && !defined(BOOST_HAS_DECLSPEC)
00025 #  define BOOST_HAS_DECLSPEC
00026 #endif
00027 
00028 #if defined(__MINGW32__) && ((__MINGW32_MAJOR_VERSION > 2) || ((__MINGW32_MAJOR_VERSION == 2) && (__MINGW32_MINOR_VERSION >= 0)))
00029 #  define BOOST_HAS_STDINT_H
00030 #  define __STDC_LIMIT_MACROS
00031 #  define BOOST_HAS_DIRENT_H
00032 #  define BOOST_HAS_UNISTD_H
00033 #endif
00034 
00035 //
00036 // Win32 will normally be using native Win32 threads,
00037 // but there is a pthread library avaliable as an option,
00038 // we used to disable this when BOOST_DISABLE_WIN32 was 
00039 // defined but no longer - this should allow some
00040 // files to be compiled in strict mode - while maintaining
00041 // a consistent setting of BOOST_HAS_THREADS across
00042 // all translation units (needed for shared_ptr etc).
00043 //
00044 
00045 #ifdef _WIN32_WCE
00046 #  define BOOST_NO_ANSI_APIS
00047 #endif
00048 
00049 #ifndef BOOST_HAS_PTHREADS
00050 #  define BOOST_HAS_WINTHREADS
00051 #endif
00052 
00053 #ifndef BOOST_DISABLE_WIN32
00054 // WEK: Added
00055 #define BOOST_HAS_FTIME
00056 #define BOOST_WINDOWS 1
00057 
00058 #endif


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:29