guard long long usage with BOOST_HAS_LONG_LONG

[SVN r24900]
This commit is contained in:
Aleksey Gurtovoy
2004-09-04 11:21:16 +00:00
parent 64a8b36b23
commit fe1285bb8f

View File

@ -404,15 +404,17 @@ namespace std {
// but it's use may generate either warnings (with -ansi), or errors
// (with -pedantic -ansi) unless it's use is prefixed by __extension__
//
#if defined(BOOST_HAS_LONG_LONG)
namespace boost{
#ifdef __GNUC__
# ifdef __GNUC__
__extension__ typedef long long long_long_type;
__extension__ typedef unsigned long long ulong_long_type;
#else
# else
typedef long long long_long_type;
typedef unsigned long long ulong_long_type;
#endif
# endif
}
#endif
// BOOST_[APPEND_]EXPLICIT_TEMPLATE_[NON_]TYPE macros --------------------------//
//