diff options
Diffstat (limited to 'ACE/ace/Truncate.h')
-rw-r--r-- | ACE/ace/Truncate.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/ace/Truncate.h b/ACE/ace/Truncate.h index e7026ce3114..7e03d90ca57 100644 --- a/ACE/ace/Truncate.h +++ b/ACE/ace/Truncate.h @@ -46,7 +46,7 @@ namespace ACE_Utils template<> struct Sign_Check<unsigned short> { ACE_STATIC_CONSTANT (bool, is_signed = 0); }; template<> struct Sign_Check<unsigned int> { ACE_STATIC_CONSTANT (bool, is_signed = 0); }; template<> struct Sign_Check<unsigned long> { ACE_STATIC_CONSTANT (bool, is_signed = 0); }; -#ifndef ACE_LACKS_LONGLONG_T +#if !(defined(ACE_LACKS_LONGLONG_T) || defined(ACE_LACKS_UNSIGNEDLONGLONG_T)) # ifdef __GNUC__ // Silence g++ "-pedantic" warnings regarding use of "long long" // type. @@ -114,7 +114,7 @@ namespace ACE_Utils unsigned_type operator() (unsigned_type x) { return x; } }; -#ifndef ACE_LACKS_LONGLONG_T +#if !(defined(ACE_LACKS_LONGLONG_T) || defined(ACE_LACKS_UNSIGNEDLONGLONG_T)) # ifdef __GNUC__ // Silence g++ "-pedantic" warnings regarding use of "long long" // type. @@ -187,7 +187,7 @@ namespace ACE_Utils } }; -#ifndef ACE_LACKS_LONGLONG_T +#if !(defined(ACE_LACKS_LONGLONG_T) || defined(ACE_LACKS_UNSIGNEDLONGLONG_T)) # ifdef __GNUC__ // Silence g++ "-pedantic" warnings regarding use of "long long" // type. |