comparison DEPENDENCIES/generic/include/boost/asio/detail/pop_options.hpp @ 16:2665513ce2d3

Add boost headers
author Chris Cannam
date Tue, 05 Aug 2014 11:11:38 +0100
parents
children c530137014c0
comparison
equal deleted inserted replaced
15:663ca0da4350 16:2665513ce2d3
1 //
2 // detail/pop_options.hpp
3 // ~~~~~~~~~~~~~~~~~~~~~~
4 //
5 // Copyright (c) 2003-2013 Christopher M. Kohlhoff (chris at kohlhoff dot com)
6 //
7 // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 //
10
11 // No header guard
12
13 #if defined(__COMO__)
14
15 // Comeau C++
16
17 #elif defined(__DMC__)
18
19 // Digital Mars C++
20
21 #elif defined(__INTEL_COMPILER) || defined(__ICL) \
22 || defined(__ICC) || defined(__ECC)
23
24 // Intel C++
25
26 #elif defined(__GNUC__)
27
28 // GNU C++
29
30 # if defined(__MINGW32__) || defined(__CYGWIN__)
31 # pragma pack (pop)
32 # endif
33
34 # if defined(__OBJC__)
35 # if !defined(__APPLE_CC__) || (__APPLE_CC__ <= 1)
36 # if defined(BOOST_ASIO_OBJC_WORKAROUND)
37 # undef Protocol
38 # undef id
39 # undef BOOST_ASIO_OBJC_WORKAROUND
40 # endif
41 # endif
42 # endif
43
44 #elif defined(__KCC)
45
46 // Kai C++
47
48 #elif defined(__sgi)
49
50 // SGI MIPSpro C++
51
52 #elif defined(__DECCXX)
53
54 // Compaq Tru64 Unix cxx
55
56 #elif defined(__ghs)
57
58 // Greenhills C++
59
60 #elif defined(__BORLANDC__)
61
62 // Borland C++
63
64 # pragma option pop
65 # pragma nopushoptwarn
66 # pragma nopackwarning
67
68 #elif defined(__MWERKS__)
69
70 // Metrowerks CodeWarrior
71
72 #elif defined(__SUNPRO_CC)
73
74 // Sun Workshop Compiler C++
75
76 #elif defined(__HP_aCC)
77
78 // HP aCC
79
80 #elif defined(__MRC__) || defined(__SC__)
81
82 // MPW MrCpp or SCpp
83
84 #elif defined(__IBMCPP__)
85
86 // IBM Visual Age
87
88 #elif defined(_MSC_VER)
89
90 // Microsoft Visual C++
91 //
92 // Must remain the last #elif since some other vendors (Metrowerks, for example)
93 // also #define _MSC_VER
94
95 # pragma warning (pop)
96 # pragma pack (pop)
97
98 # if defined(__cplusplus_cli) || defined(__cplusplus_winrt)
99 # if defined(BOOST_ASIO_CLR_WORKAROUND)
100 # undef generic
101 # undef BOOST_ASIO_CLR_WORKAROUND
102 # endif
103 # endif
104
105 #endif