1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/boost/config/select_platform_config.hpp Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,90 @@
1.4 +// Boost compiler configuration selection header file
1.5 +
1.6 +// (C) Copyright John Maddock 2001 - 2002.
1.7 +// (C) Copyright Jens Maurer 2001.
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 +// locate which platform we are on and define BOOST_PLATFORM_CONFIG as needed.
1.15 +// Note that we define the headers to include using "header_name" not
1.16 +// <header_name> in order to prevent macro expansion within the header
1.17 +// name (for example "linux" is a macro on linux systems).
1.18 +
1.19 +#if defined(linux) || defined(__linux) || defined(__linux__)
1.20 +// linux:
1.21 +# define BOOST_PLATFORM_CONFIG "boost/config/platform/linux.hpp"
1.22 +
1.23 +#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
1.24 +// BSD:
1.25 +# define BOOST_PLATFORM_CONFIG "boost/config/platform/bsd.hpp"
1.26 +
1.27 +#elif defined(sun) || defined(__sun)
1.28 +// solaris:
1.29 +# define BOOST_PLATFORM_CONFIG "boost/config/platform/solaris.hpp"
1.30 +
1.31 +#elif defined(__sgi)
1.32 +// SGI Irix:
1.33 +# define BOOST_PLATFORM_CONFIG "boost/config/platform/irix.hpp"
1.34 +
1.35 +#elif defined(__hpux)
1.36 +// hp unix:
1.37 +# define BOOST_PLATFORM_CONFIG "boost/config/platform/hpux.hpp"
1.38 +
1.39 +#elif defined(__CYGWIN__)
1.40 +// cygwin is not win32:
1.41 +# define BOOST_PLATFORM_CONFIG "boost/config/platform/cygwin.hpp"
1.42 +
1.43 +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
1.44 +// win32:
1.45 +# define BOOST_PLATFORM_CONFIG "boost/config/platform/win32.hpp"
1.46 +
1.47 +#elif defined(__BEOS__)
1.48 +// BeOS
1.49 +# define BOOST_PLATFORM_CONFIG "boost/config/platform/beos.hpp"
1.50 +
1.51 +#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
1.52 +// MacOS
1.53 +# define BOOST_PLATFORM_CONFIG "boost/config/platform/macos.hpp"
1.54 +
1.55 +#elif defined(__IBMCPP__) || defined(_AIX)
1.56 +// IBM
1.57 +# define BOOST_PLATFORM_CONFIG "boost/config/platform/aix.hpp"
1.58 +
1.59 +#elif defined(__amigaos__)
1.60 +// AmigaOS
1.61 +# define BOOST_PLATFORM_CONFIG "boost/config/platform/amigaos.hpp"
1.62 +
1.63 +#elif defined(__QNXNTO__)
1.64 +// QNX:
1.65 +# define BOOST_PLATFORM_CONFIG "boost/config/platform/qnxnto.hpp"
1.66 +
1.67 +#else
1.68 +
1.69 +# if defined(unix) \
1.70 + || defined(__unix) \
1.71 + || defined(_XOPEN_SOURCE) \
1.72 + || defined(_POSIX_SOURCE)
1.73 +
1.74 + // generic unix platform:
1.75 +
1.76 +# ifndef BOOST_HAS_UNISTD_H
1.77 +# define BOOST_HAS_UNISTD_H
1.78 +# endif
1.79 +
1.80 +# include <boost/config/posix_features.hpp>
1.81 +
1.82 +# endif
1.83 +
1.84 +# if defined (BOOST_ASSERT_CONFIG)
1.85 + // this must come last - generate an error if we don't
1.86 + // recognise the platform:
1.87 +# error "Unknown platform - please configure and report the results to boost.org"
1.88 +# endif
1.89 +
1.90 +#endif
1.91 +
1.92 +
1.93 +