ChipMaster's trial hacks on C++CMS starting with v1.2.1. Not sure I'll follow on with the v2 since it looks to be breaking and mostly frivolous.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- //
- // Copyright (C) 2009-2012 Artyom Beilis (Tonkikh)
- //
- // 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)
- //
- #ifndef BOOSTER_CONFIG_H
- #define BOOSTER_CONFIG_H
-
- #if defined(__WIN32) || defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__)
- # define BOOSTER_SYMBOL_VISIBLE
- # if defined(DLL_EXPORT)
- # if defined(BOOSTER_SOURCE)
- # define BOOSTER_API __declspec(dllexport)
- # else
- # define BOOSTER_API __declspec(dllimport)
- # endif
- # else
- # define BOOSTER_API
- # endif
- #else // ELF BINARIES
- # if defined(BOOSTER_SOURCE) && defined(BOOSTER_VISIBILITY_SUPPORT)
- # define BOOSTER_API __attribute__ ((visibility("default")))
- # define BOOSTER_SYMBOL_VISIBLE __attribute__ ((visibility("default")))
- # else
- # define BOOSTER_API
- # define BOOSTER_SYMBOL_VISIBLE
- # endif
- #endif
-
- #if (defined(WIN32) || defined(_WIN32) || defined(__WIN32)) && !defined(__CYGWIN__)
- #define BOOSTER_WIN_NATIVE
- #endif
-
- #if defined(__CYGWIN__)
- #define BOOSTER_CYGWIN
- #endif
-
- #if defined(BOOSTER_WIN_NATIVE) || defined(BOOSTER_CYGWIN)
- #define BOOSTER_WIN32
- #endif
-
- #if !defined(BOOSTER_WIN_NATIVE)
- #define BOOSTER_POSIX
- #endif
-
- #if defined(_MSC_VER)
- #define BOOSTER_MSVC
- // This warning is really not revevant
- #pragma warning (disable: 4275 4251)
- #endif
-
-
- #undef BOOSTER_HAS_CHAR16_T
- #undef BOOSTER_HAS_CHAR32_T
- #undef BOOSTER_NO_STD_WSTRING
- #undef BOOSTER_NO_SWPRINTF
-
- #ifdef __GNUC__
- # define BOOSTER_GCC
- #endif
-
- #if defined(__GNUC__) && __GNUC__ < 4
- # define BOOSTER_GCC3
- #endif
-
- #if defined(__CYGWIN__) || (defined(BOOSTER_WIN32) && defined(BOOSTER_GCC3))
- # define BOOSTER_NO_STD_WSTRING
- #endif
-
- #if defined(BOOSTER_WIN32) && defined(BOOSTER_GCC)
- # define BOOST_NO_SWPRINTF
- #endif
-
- #if defined __GNUC__ || defined __clang__
- #define BOOSTER_UNUSED __attribute__((unused))
- #else
- #define BOOSTER_UNUSED
- #endif
-
- #if defined __clang__
- #define BOOSTER_UNUSED_MEMBER __attribute__((unused))
- #else
- #define BOOSTER_UNUSED_MEMBER
- #endif
-
-
- #endif /// BOOSTER_CONFIG_H
|