epoc32/include/stdapis/boost/config/platform/win32.hpp
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/config/platform/win32.hpp	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,58 @@
     1.4 +//  (C) Copyright John Maddock 2001 - 2003. 
     1.5 +//  (C) Copyright Bill Kempf 2001. 
     1.6 +//  (C) Copyright Aleksey Gurtovoy 2003. 
     1.7 +//  (C) Copyright Rene Rivera 2005.
     1.8 +//  Use, modification and distribution are subject to the 
     1.9 +//  Boost Software License, Version 1.0. (See accompanying file 
    1.10 +//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
    1.11 +
    1.12 +//  See http://www.boost.org for most recent version.
    1.13 +
    1.14 +//  Win32 specific config options:
    1.15 +
    1.16 +#define BOOST_PLATFORM "Win32"
    1.17 +
    1.18 +//  Get the information about the MinGW runtime, i.e. __MINGW32_*VERSION.
    1.19 +#if defined(__MINGW32__)
    1.20 +#  include <_mingw.h>
    1.21 +#endif
    1.22 +
    1.23 +#if defined(__GNUC__) && !defined(BOOST_NO_SWPRINTF)
    1.24 +#  define BOOST_NO_SWPRINTF
    1.25 +#endif
    1.26 +
    1.27 +#if !defined(__GNUC__) && !defined(BOOST_HAS_DECLSPEC)
    1.28 +#  define BOOST_HAS_DECLSPEC
    1.29 +#endif
    1.30 +
    1.31 +#if defined(__MINGW32__) && ((__MINGW32_MAJOR_VERSION > 2) || ((__MINGW32_MAJOR_VERSION == 2) && (__MINGW32_MINOR_VERSION >= 0)))
    1.32 +#  define BOOST_HAS_STDINT_H
    1.33 +#  define __STDC_LIMIT_MACROS
    1.34 +#  define BOOST_HAS_DIRENT_H
    1.35 +#  define BOOST_HAS_UNISTD_H
    1.36 +#endif
    1.37 +
    1.38 +//
    1.39 +// Win32 will normally be using native Win32 threads,
    1.40 +// but there is a pthread library avaliable as an option,
    1.41 +// we used to disable this when BOOST_DISABLE_WIN32 was 
    1.42 +// defined but no longer - this should allow some
    1.43 +// files to be compiled in strict mode - while maintaining
    1.44 +// a consistent setting of BOOST_HAS_THREADS across
    1.45 +// all translation units (needed for shared_ptr etc).
    1.46 +//
    1.47 +
    1.48 +#ifdef _WIN32_WCE
    1.49 +#  define BOOST_NO_ANSI_APIS
    1.50 +#endif
    1.51 +
    1.52 +#ifndef BOOST_HAS_PTHREADS
    1.53 +#  define BOOST_HAS_WINTHREADS
    1.54 +#endif
    1.55 +
    1.56 +#ifndef BOOST_DISABLE_WIN32
    1.57 +// WEK: Added
    1.58 +#define BOOST_HAS_FTIME
    1.59 +#define BOOST_WINDOWS 1
    1.60 +
    1.61 +#endif