|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51503 - trunk/boost/config
From: bdawes_at_[hidden]
Date: 2009-03-01 09:14:09
Author: bemandawes
Date: 2009-03-01 09:14:09 EST (Sun, 01 Mar 2009)
New Revision: 51503
URL: http://svn.boost.org/trac/boost/changeset/51503
Log:
config: fix both BOOST_HAS_LONG_LONG and BOOST_NO_LONG_LONG getting defined at the same time for some compilers
Text files modified:
trunk/boost/config/suffix.hpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Modified: trunk/boost/config/suffix.hpp
==============================================================================
--- trunk/boost/config/suffix.hpp (original)
+++ trunk/boost/config/suffix.hpp 2009-03-01 09:14:09 EST (Sun, 01 Mar 2009)
@@ -31,11 +31,13 @@
// remember that since these just declare a bunch of macros, there should be
// no namespace issues from this.
//
-#if !defined(BOOST_HAS_LONG_LONG) \
+#if !defined(BOOST_HAS_LONG_LONG) && !defined(BOOST_NO_LONG_LONG) \
&& !defined(BOOST_MSVC) && !defined(__BORLANDC__)
# include <limits.h>
# if (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX))
# define BOOST_HAS_LONG_LONG
+# else
+# define BOOST_NO_LONG_LONG
# endif
#endif
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk