• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 1997
3  * Moscow Center for SPARC Technology
4  *
5  * Copyright (c) 1999
6  * Boris Fomitchev
7  *
8  * This material is provided "as is", with absolutely no warranty expressed
9  * or implied. Any use is at your own risk.
10  *
11  * Permission to use or copy this software for any purpose is hereby granted
12  * without fee, provided the above notices are retained on all copies.
13  * Permission to modify the code and to distribute modified code is granted,
14  * provided the above notices are retained, and a notice that the code was
15  * modified is included with the above copyright notice.
16  *
17  */
18 
19 #define _STLP_COMPILER "CC"
20 
21 // Mostly correct guess, change it for Alpha (and other environments
22 // that has 64-bit "long")
23 #  define _STLP_UINT32_T unsigned long
24 
25 // Uncomment if long long is available
26 #  define _STLP_LONG_LONG long long
27 
28 // Uncomment this if your compiler can't inline while(), for()
29 #  define _STLP_LOOP_INLINE_PROBLEMS 1
30 
31 // Uncomment this if your compiler does not support exceptions
32 // Cray C++ supports exceptions when '-h exceptions' option is user;
33 // therefore '-D_STLP_HAS_NO_EXCEPTIONS' must be used when '-h exceptions'
34 // is NOT used.
35 //#  define _STLP_HAS_NO_EXCEPTIONS 1
36 
37 // Delete?
38 // Define this if compiler lacks <exception> header
39 //#  define _STLP_NO_EXCEPTION_HEADER 1
40 
41 // Uncomment this if your C library has lrand48() function
42 #  define _STLP_RAND48 1
43 
44 // Uncomment if native new-style C library headers lile <cstddef>, etc are not available.
45 #   define _STLP_HAS_NO_NEW_C_HEADERS 1
46 
47 // uncomment if new-style headers <new> is available
48 #   define _STLP_NO_NEW_NEW_HEADER 1
49 
50 // uncomment this if <iostream> and other STD headers put their stuff in ::namespace,
51 // not std::
52 #  define _STLP_VENDOR_GLOBAL_STD
53 
54 // uncomment this if <cstdio> and the like put stuff in ::namespace,
55 // not std::
56 #  define _STLP_VENDOR_GLOBAL_CSTD
57 
58 # define _STLP_NATIVE_C_HEADER(__x) </usr/include/##__x>
59 // WARNING: Following is hardcoded to the system default C++ include files
60 # define _STLP_NATIVE_CPP_RUNTIME_HEADER(__x) </opt/ctl/CC/CC/include/##__x>
61 
62 
63 # define _STLP_NO_NATIVE_MBSTATE_T
64 # define _STLP_NO_USING_FOR_GLOBAL_FUNCTIONS
65 //# define _STLP_VENDOR_GLOBAL_EXCEPT_STD
66