forked from boostorg/config
Added BOOST_HAS_LONG_LONG config option.
[SVN r11392]
This commit is contained in:
1 parent
5e28fcc6ab
commit
b70903dca0
5 files changed
+51
-1
No files matched your search
@@ -35,6 +35,11 @@
|
||||
//
|
||||
#define BOOST_HAS_THREADS
|
||||
|
||||
//
|
||||
// long long support: always turn this on here?
|
||||
//
|
||||
#define BOOST_HAS_LONG_LONG
|
||||
|
||||
#define BOOST_COMPILER "GNU C++ version " BOOST_STRINGIZE(__GNUC__) "." BOOST_STRINGIZE(__GNUC_MINOR__)
|
||||
|
||||
//
|
||||
|
||||
@@ -21,6 +21,15 @@
|
||||
# define BOOST_DECL // default for compilers not needing this decoration.
|
||||
# endif
|
||||
|
||||
//
|
||||
// look for long long by looking for the appropriate macros in <climits>
|
||||
//
|
||||
#include <climits>
|
||||
# if !defined(BOOST_MSVC) && !defined(__BORLANDC__) \
|
||||
&& (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX))
|
||||
# define BOOST_HAS_LONG_LONG
|
||||
#endif
|
||||
|
||||
//
|
||||
// Assume any extensions are in namespace std:: unless stated otherwise:
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user