Added new config macro BOOST_HAS_MS_INT64 to detect presence of __int64 data type.

Modified boost source to use BOOST_HAS_LONG_LONG and BOOST_HAS_MS_INT64
   where appropriate to do so.


[SVN r13714]
This commit is contained in:
John Maddock
2002-05-07 11:24:29 +00:00
parent 6b5a580456
commit 9e02db296c
12 changed files with 1091 additions and 375 deletions
@@ -46,6 +46,10 @@
#include <float.h>
#endif
#if __BORLANDC__ >= 0x530
# define BOOST_HAS_MS_INT64
#endif
//
// check for exception handling support:
#ifndef _CPPUNWIND
+5
View File
@@ -22,6 +22,11 @@
# define BOOST_NO_VOID_RETURNS
# endif
# if defined(_MSC_VER) && (_MSC_VER >= 1200)
# define BOOST_HAS_MS_INT64
# endif
#endif
#define BOOST_COMPILER "Comeau compiler version " BOOST_STRINGIZE(__COMO_VERSION__)
+3
View File
@@ -52,6 +52,9 @@
# ifndef _NATIVE_WCHAR_T_DEFINED
# define BOOST_NO_INTRINSIC_WCHAR_T
# endif
# if _MSC_VER >= 1200
# define BOOST_HAS_MS_INT64
# endif
# define BOOST_NO_SWPRINTF
#endif
+14
View File
@@ -73,6 +73,20 @@
# define BOOST_NO_EXCEPTIONS
#endif
//
// __int64 support:
//
#if _MSC_VER >= 1200
# define BOOST_HAS_MS_INT64
#endif
//
// long long support:
//
#if _MSC_VER >= 1301
# define BOOST_HAS_LONG_LONG
#endif
#define BOOST_COMPILER "Microsoft Visual C++ version " BOOST_STRINGIZE(_MSC_VER)
+3
View File
@@ -32,6 +32,9 @@
&& (defined(ULLONG_MAX) || defined(ULONG_LONG_MAX) || defined(ULONGLONG_MAX))
# define BOOST_HAS_LONG_LONG
#endif
#if !defined(BOOST_HAS_LONG_LONG) && !defined(BOOST_NO_INTEGRAL_INT64_T)
# define BOOST_NO_INTEGRAL_INT64_T
#endif
// GCC 3.x will clean up all of those nasty macro definitions that
// BOOST_NO_CTYPE_FUNCTIONS is intended to help work around, so undefine