//============================================================================= // drt/sys/s_msc32.hpp // Porting definitions for: // Microsoft Visual C++ 5.0+, on // Windows 95 or Windows NT 4.0+ (Win32). // // See also // sport.hpp // sdefs.hpp // // History // 1.01, 1998-04-23, David R Tribble. // First cut. // // 1.02, 1998-04-24, David R Tribble. // Renamed from "sc_msc50.h" to "j_msc50.h". // // 1.03, 1998-05-30, David R Tribble. // Changed filename prefix from "j" to "s". // // 1.04, 1999-02-26, David R Tribble. // Moved to drt/sys/. // // 1.05, 1999-07-31, David R Tribble. // Renamed this file to "s_msc.hpp". // // 1.06, 1999-08-19, David R Tribble. // Renamed this file to "s_msc32.hpp", for Win32. // // Copyright ©1998-1999, by David R. Tribble, all rights reserved. // See "drt/sys/copyr.txt" for more information. //----------------------------------------------------------------------------- #ifndef drt_sys_smsc32_hpp #define drt_sys_smsc32_hpp 106 // Identification #ifndef NO_H_IDENT static const char drt_sys_smsc32_hpp_id[] = "@(#)drt/sys/smsc32.hpp 1.06"; #endif // Verify include order #ifndef drt_sys_sdefs_hpp #error Use "sys/sdefs.hpp" instead of this header #endif // Porting control macros #undef DRT_OS_WIN32 #define DRT_OS_WIN32 400 #define DRT_OS_WIN32_4_0 1 #undef DRT_CXX_MSC #define DRT_CXX_MSC 500 #define DRT_CXX_MSC_5_0 1 #define DRT_HAS_AND 0 // Has 'and' keyword #define DRT_HAS_ARRAY_CTOR 0 // Allows member array init in ctor #define DRT_HAS_ARRAY_NEW 0 // Has 'new[]' operator #define DRT_HAS_BOOL 1 // Has 'bool' type #define DRT_HAS_CAST 1 // Has 'static_cast' keyword #define DRT_HAS_EXPLICIT 1 // Has 'explicit' keyword #define DRT_HAS_LLONG 1 // Has a 'long long' type #define DRT_HAS_MUTABLE 1 // Has 'mutable' keyword #define DRT_HAS_NAMESPACE 1 // Has namespaces #define DRT_HAS_NEW 1 // Has std #define DRT_HAS_NOTHROW 0//? // Has 'new(nothrow)' #define DRT_HAS_STD 0//? // Has 'std::' namespace #define DRT_HAS_STL 0 // Has STL #define DRT_HAS_THROW 1 // Has exceptions #define DRT_BITS_SHORT 16 // Bits in a 'short' #define DRT_BITS_INT 32 // Bits in an 'int' #define DRT_BITS_LONG 32 // Bits in a 'long' #define DRT_BITS_LLONG 64 // Bits in a 'long long' #define DRT_BYTE_HL 0 // Big-endian byte order within words #define DRT_WORD_HL 0 // Big-endian word order within longs #define DRT_LONG_HL 0 // Big-endian long order within llongs // Primitive types #define drt_int64_t signed __int64 // 64-bit signed integer #define drt_uint64_t unsigned __int64 // 64-bit unsigned integer // Standard constants #ifndef LLONG_MIN #define LLONG_MIN _I64_MIN #endif #ifndef LLONG_MAX #define LLONG_MAX _I64_MAX #endif #ifndef ULLONG_MAX #define ULLONG_MAX _UI64_MAX #endif /* Other constants */ #ifndef LLONG_FMT #define LLONG_FMT "I64" #endif #endif // drt_sys_smsc32_hpp // End s_msc32.hpp