1 | // (C) Copyright Yuriy Krasnoschek 2009.
|
---|
2 | // (C) Copyright John Maddock 2001 - 2003.
|
---|
3 | // (C) Copyright Jens Maurer 2001 - 2003.
|
---|
4 | // Use, modification and distribution are subject to the
|
---|
5 | // Boost Software License, Version 1.0. (See accompanying file
|
---|
6 | // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
---|
7 |
|
---|
8 | // See http://www.boost.org for most recent version.
|
---|
9 |
|
---|
10 | // symbian specific config options:
|
---|
11 |
|
---|
12 |
|
---|
13 | #define BOOST_PLATFORM "Symbian"
|
---|
14 | #define BOOST_SYMBIAN 1
|
---|
15 |
|
---|
16 |
|
---|
17 | #define S60_5th_EDITION_FP2 3
|
---|
18 | #define S60_5th_EDITION 2
|
---|
19 | #define S60_N97_SDK 1
|
---|
20 |
|
---|
21 | #define __LITTLE_ENDIAN
|
---|
22 |
|
---|
23 | #if defined(__S60_3X__)
|
---|
24 | // Open C / C++ plugin was introdused in this SDK, earlier versions don't have CRT / STL
|
---|
25 | # define BOOST_S60_3rd_EDITION_FP2_OR_LATER_SDK
|
---|
26 | // make sure we have __GLIBC_PREREQ if available at all
|
---|
27 | # include <cstdlib>
|
---|
28 | // boilerplate code:
|
---|
29 | # define BOOST_HAS_UNISTD_H
|
---|
30 | # include <boost/config/posix_features.hpp>
|
---|
31 | // S60 SDK defines _POSIX_VERSION as POSIX.1
|
---|
32 | # ifndef BOOST_HAS_STDINT_H
|
---|
33 | # define BOOST_HAS_STDINT_H
|
---|
34 | # endif
|
---|
35 | # ifndef BOOST_HAS_GETTIMEOFDAY
|
---|
36 | # define BOOST_HAS_GETTIMEOFDAY
|
---|
37 | # endif
|
---|
38 | # ifndef BOOST_HAS_DIRENT_H
|
---|
39 | # define BOOST_HAS_DIRENT_H
|
---|
40 | # endif
|
---|
41 | # ifndef BOOST_HAS_SIGACTION
|
---|
42 | # define BOOST_HAS_SIGACTION
|
---|
43 | # endif
|
---|
44 | # ifndef BOOST_HAS_PTHREADS
|
---|
45 | # define BOOST_HAS_PTHREADS
|
---|
46 | # endif
|
---|
47 | # ifndef BOOST_HAS_NANOSLEEP
|
---|
48 | # define BOOST_HAS_NANOSLEEP
|
---|
49 | # endif
|
---|
50 | # ifndef BOOST_HAS_SCHED_YIELD
|
---|
51 | # define BOOST_HAS_SCHED_YIELD
|
---|
52 | # endif
|
---|
53 | # ifndef BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
---|
54 | # define BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE
|
---|
55 | # endif
|
---|
56 | # ifndef BOOST_HAS_LOG1P
|
---|
57 | # define BOOST_HAS_LOG1P
|
---|
58 | # endif
|
---|
59 | # ifndef BOOST_HAS_EXPM1
|
---|
60 | # define BOOST_HAS_EXPM1
|
---|
61 | # endif
|
---|
62 | # ifndef BOOST_POSIX_API
|
---|
63 | # define BOOST_POSIX_API
|
---|
64 | # endif
|
---|
65 | # define BOOST_ASIO_DISABLE_SERIAL_PORT
|
---|
66 | # define BOOST_DATE_TIME_NO_LOCALE
|
---|
67 | # define BOOST_NO_STD_WSTRING
|
---|
68 | # define BOOST_EXCEPTION_DISABLE
|
---|
69 | # define BOOST_NO_EXCEPTIONS
|
---|
70 | #else // TODO: More platform support e.g. UIQ
|
---|
71 | # error "Unsuppoted Symbian SDK"
|
---|
72 | #endif
|
---|
73 |
|
---|
74 | #if definde(__WINSCW__) && !defined(BOOST_DISABLE_WIN32)
|
---|
75 | # define BOOST_DISABLE_WIN32 // winscw defines WIN32 macro
|
---|
76 | #endif
|
---|
77 |
|
---|
78 |
|
---|
79 |
|
---|
80 |
|
---|
81 |
|
---|
82 |
|
---|
83 |
|
---|