Changeset 480 in Sophya for trunk/SophyaLib/BaseTools/machdefs.h
- Timestamp:
- Oct 20, 1999, 12:25:32 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/machdefs.h
r269 r480 26 26 #endif 27 27 28 #if def sun28 #if defined(SunOS) || defined ( sun ) 29 29 #define MACH_SUN 30 30 #define OS_SOLARIS … … 142 142 typedef unsigned long long uint_8; 143 143 144 #ifdef powerpc 145 #define SWAP 0 146 #define SWAPDEFAUT 0 147 #else 144 148 #define SWAP 1 145 149 #define SWAPDEFAUT 1 150 #endif 146 151 147 152 #elif defined(OS_MACOS) … … 183 188 /* __aCC__ : aCC on HP */ 184 189 /* __KCC__ : KCC, version >= 3.3 is required */ 190 /* __SGICC__ : SGI (IRIX64) CC compiler */ 185 191 186 192 /***********************************************************************/ … … 201 207 /* HAS_IOS_NOCREATE */ 202 208 /* HAS_VEC_NEW : operator new[] */ 209 /* CC_HAS_RTTI_SUPPORT has Run Time Type Identification support */ 203 210 /* ANSI_IO : rdbuf()->pubseekoff rather than seekg */ 204 211 /* HAS_STR_NPOS : has string::npos and not a global NPOS */ … … 214 221 #ifndef COMPILER_EXCEPTIONS 215 222 #define COMPILER_EXCEPTIONS 223 #endif 224 225 #ifndef CC_HAS_RTTI_SUPPORT 226 #define CC_HAS_RTTI_SUPPORT 216 227 #endif 217 228 … … 246 257 247 258 #if defined (__aCC__) 248 #ifndef COMPILER_EXCEPTIONS249 #define COMPILER_EXCEPTIONS250 #endif251 259 #ifndef ANSI_TEMPLATES 252 260 #define ANSI_TEMPLATES … … 258 266 #define STREAMPOS_IS_CLASS 259 267 #define HAS_STR_NPOS 260 #ifndef COMPILER_EXCEPTIONS261 #define COMPILER_EXCEPTIONS262 #endif263 268 #ifndef ANSI_TEMPLATES 264 269 #define ANSI_TEMPLATES 265 270 #endif 266 #endif 267 271 /* Standard C++ library classes are in the namespace std */ 272 #ifdef __cplusplus 273 namespace std { } 274 using namespace std; 275 #endif 276 #endif 277 278 #if defined(__SGICC__) 279 /* Standard C++ library classes are in the namespace std */ 280 #define HAS_STR_NPOS 281 #ifndef ANSI_TEMPLATES 282 #define ANSI_TEMPLATES 283 #endif 284 #ifdef __cplusplus 285 namespace std { } 286 using namespace std; 287 #endif 288 #endif 268 289 269 290 /* Get things has homogeneous as possible between compilers */
Note:
See TracChangeset
for help on using the changeset viewer.