Add new macro BOOST_GCC as per #7841.

Refs #7841.

[SVN r83008]
This commit is contained in:
John Maddock committed 2013-02-19 16:26:06 +00:00
1 parent f6a50c0ed9
commit 02602b9139
4 files changed
+127 -25

No files matched your search

+6 -1
View File
@@ -11,7 +11,12 @@
// See http://www.boost.org for most recent version.
// GNU C++ compiler setup:
// GNU C++ compiler setup.
//
// Define BOOST_GCC so we know this is "real" GCC and not some pretender:
//
#define BOOST_GCC (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__)
#if __GNUC__ < 3
# if __GNUC_MINOR__ == 91