48 lines
1.0 KiB
C++
48 lines
1.0 KiB
C++
//
|
|
// detail/push_options.hpp
|
|
// ~~~~~~~~~~~~~~~~~~~~~~~
|
|
//
|
|
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
|
//
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
//
|
|
|
|
// No header guard
|
|
|
|
#if defined(__COMO__)
|
|
|
|
// Comeau C++
|
|
|
|
#elif defined(__DMC__)
|
|
|
|
// Digital Mars C++
|
|
|
|
#elif defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
|
|
|
|
// Intel C++
|
|
|
|
# if (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
|
|
# pragma GCC visibility push (default)
|
|
# endif // (__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ > 4)
|
|
|
|
#else
|
|
|
|
// Clang
|
|
|
|
# if defined(__OBJC__)
|
|
# if !defined(__APPLE_CC__) || (__APPLE_CC__ <= 1)
|
|
# if !defined(ASIO_DISABLE_OBJC_WORKAROUND)
|
|
# if !defined(Protocol) && !defined(id)
|
|
# define Protocol cpp_Protocol
|
|
# define id cpp_id
|
|
# define ASIO_OBJC_WORKAROUND
|
|
# endif
|
|
# endif
|
|
# endif
|
|
# endif
|
|
|
|
# pragma GCC visibility push (default)
|
|
|
|
#endif
|