fix doc example typo
[boost.git] / boost / asio / detail / pop_options.hpp
blob7f56662111c9de13ab57f11f78b7889b3d58f955
1 //
2 // pop_options.hpp
3 // ~~~~~~~~~~~~~~~
4 //
5 // Copyright (c) 2003-2008 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 //
11 // No header guard
13 #if defined(__COMO__)
15 // Comeau C++
17 #elif defined(__DMC__)
19 // Digital Mars C++
21 #elif defined(__INTEL_COMPILER) || defined(__ICL) \
22 || defined(__ICC) || defined(__ECC)
24 // Intel C++
26 #elif defined(__GNUC__)
28 // GNU C++
30 # if defined(__MINGW32__) || defined(__CYGWIN__)
31 # pragma pack (pop)
32 # endif
34 #elif defined(__KCC)
36 // Kai C++
38 #elif defined(__sgi)
40 // SGI MIPSpro C++
42 #elif defined(__DECCXX)
44 // Compaq Tru64 Unix cxx
46 #elif defined(__ghs)
48 // Greenhills C++
50 #elif defined(__BORLANDC__)
52 // Borland C++
54 # pragma option pop
55 # pragma nopushoptwarn
56 # pragma nopackwarning
58 #elif defined(__MWERKS__)
60 // Metrowerks CodeWarrior
62 #elif defined(__SUNPRO_CC)
64 // Sun Workshop Compiler C++
66 #elif defined(__HP_aCC)
68 // HP aCC
70 #elif defined(__MRC__) || defined(__SC__)
72 // MPW MrCpp or SCpp
74 #elif defined(__IBMCPP__)
76 // IBM Visual Age
78 #elif defined(_MSC_VER)
80 // Microsoft Visual C++
82 // Must remain the last #elif since some other vendors (Metrowerks, for example)
83 // also #define _MSC_VER
85 # pragma warning (pop)
86 # pragma pack (pop)
88 #endif