00001
00002
00003
00004
00005
00006 # define _STLP_UINT32_T unsigned int
00007
00008 # define _STLP_HAS_NO_NEW_C_HEADERS
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066 #ifdef __linux__
00067
00068 # define _STLP_NO_NATIVE_MBSTATE_T 1
00069 # define _STLP_NO_NATIVE_WIDE_FUNCTIONS 1
00070 # define _STLP_NO_NATIVE_WIDE_STREAMS 1
00071 # define _STLP_NO_LONG_DOUBLE 1
00072
00073
00074
00075 # define __wcstoull_internal_defined 1
00076 # define __wcstoll_internal_defined 1
00077
00078 #endif
00079
00080 #ifdef __USING_x86SVR3x_WITH_COMO
00081
00082
00083 # define atan2l atan2
00084 # define cosl cos
00085 # define sinl sin
00086 # define sqrtl sqrt
00087 # include <math.h>
00088 inline long double expl(long double arg) { return exp(arg); }
00089 inline long double logl(long double arg) { return log(arg); }
00090 # define log10l log10
00091
00092 # define sinhl sinh
00093 # define coshl cosh
00094 # define fabsl fabs
00095 namespace std {
00096 inline int min(int a, int b) { return a>b ? b : a; }
00097 }
00098 #endif
00099
00100 #ifdef sun
00101
00102
00103 #ifdef solarissparc
00104 #define __USING_SOLARIS_SPARC_WITH_COMO
00105
00106
00107 #include <math.h>
00108 # define sinf sin
00109 # define sinl sin
00110 # define sinhf sinh
00111 # define sinhl sinh
00112 # define cosf cos
00113 # define cosl cos
00114 # define coshf cosh
00115 # define coshl cosh
00116 # define atan2l atan2
00117 # define atan2f atan2
00118 inline float logf(float arg) { return log(arg); }
00119 inline long double logl(long double arg) { return log(arg); }
00120 # define log10f log10
00121 # define log10l log10
00122 # define expf exp
00123 inline long double expl(long double arg) { return exp(arg); }
00124 # define sqrtf sqrt
00125 # define sqrtl sqrt
00126 # define fabsf fabs
00127 # define fabsl fabs
00128 #else
00129 #define __USING_SUNOS_WITH_COMO
00130
00131 #define __unix 1
00132 #define __EXTENSIONS__
00133 #endif
00134 #endif
00135
00136 #if defined(__NetBSD__)
00137
00138 #undef _STLP_NO_FUNCTION_PTR_IN_CLASS_TEMPLATE
00139 #define __unix 1
00140
00141 #include <sys/cdefs.h>
00142
00143 #undef __END_DECLS
00144 #define __END_DECLS }
00145
00146
00147 #include <sys/cdefs.h>
00148 #undef __RENAME
00149 #define __RENAME(x)
00150
00151 #define wchar_t __COMO_WCHAR_T
00152 #include <stddef.h>
00153 #undef wchar_t
00154
00155 #include <math.h>
00156 # ifdef BORIS_DISABLED
00157 # define atan2l atan2
00158 # define cosl cos
00159 # define sinl sin
00160 # define sqrtl sqrt
00161 inline long double expl(long double arg) { return exp(arg); }
00162 inline long double logl(long double arg) { return log(arg); }
00163 # define log10l log10
00164 # define sinhl sinh
00165 # define coshl cosh
00166 # define fabsl fabs
00167 # endif
00168 #endif
00169
00170
00171
00172
00173 #define _STLP_NO_DRAND48
00174
00175 #define _STLP_PARTIAL_SPECIALIZATION_SYNTAX
00176 #define _STLP_NO_USING_CLAUSE_IN_CLASS
00177
00178
00179 #if __COMO_VERSION__ >= 4245
00180 #define _STLP_NO_EXCEPTION_HEADER
00181 #endif
00182 #define _STLP_NO_BAD_ALLOC
00183 #define _STLP_USE_AUTO_PTR_CONVERSIONS
00184
00185 #if __COMO_VERSION__ >= 4245
00186
00187 #include <stdexcept.stdh>
00188
00189
00190
00191 #endif
00192
00193
00194 # if defined (_MSC_VER)
00195 # define _STLP_WCHAR_T_IS_USHORT 1
00196 # if _MSC_VER <= 1200
00197 # define _STLP_VENDOR_GLOBAL_CSTD
00198 # endif
00199 # if _MSC_VER < 1100
00200 # define _STLP_NO_BAD_ALLOC 1
00201 # define _STLP_NO_EXCEPTION_HEADER 1
00202 # define _STLP_NO_NEW_NEW_HEADER 1
00203 # define _STLP_NO_NEW_IOSTREAMS 1
00204 # endif
00205 # endif
00206
00207
00208
00209