00001
00002
00003
00004
00005
00006
00007
00008 #ifndef _CSP_csp_config_H
00009 #define _CSP_csp_config_H
00010
00011
00012 #include <csp_config_top.h>
00013
00014
00015
00016 #define CSP_HAVE_CFLOAT 1
00017
00018
00019 #define CSP_HAVE_CLIMITS 1
00020
00021
00022 #define CSP_HAVE_CMATH 1
00023
00024
00025 #define CSP_HAVE_CSTDDEF 1
00026
00027
00028 #define CSP_HAVE_DLFCN_H 1
00029
00030
00031 #define CSP_HAVE_EXT_FUNCTIONAL 1
00032
00033
00034 #define CSP_HAVE_EXT_HASH_MAP 1
00035
00036
00037 #define CSP_HAVE_EXT_HASH_SET 1
00038
00039
00040 #define CSP_HAVE_GETCWD 1
00041
00042
00043 #define CSP_HAVE_GETTIMEOFDAY 1
00044
00045
00046 #define CSP_HAVE_INTTYPES_H 1
00047
00048
00049
00050
00051
00052
00053
00054
00055 #define CSP_HAVE_MEMORY_H 1
00056
00057
00058 #define CSP_HAVE_STDEXCEPT 1
00059
00060
00061 #define CSP_HAVE_STDINT_H 1
00062
00063
00064 #define CSP_HAVE_STDLIB_H 1
00065
00066
00067 #define CSP_HAVE_STRCASECMP 1
00068
00069
00070 #define CSP_HAVE_STRINGS_H 1
00071
00072
00073 #define CSP_HAVE_STRING_H 1
00074
00075
00076 #define CSP_HAVE_STRNCASECMP 1
00077
00078
00079 #define CSP_HAVE_STRTOD 1
00080
00081
00082 #define CSP_HAVE_STRTOUL 1
00083
00084
00085 #define CSP_HAVE_SYS_STAT_H 1
00086
00087
00088 #define CSP_HAVE_SYS_TIME_H 1
00089
00090
00091 #define CSP_HAVE_SYS_TYPES_H 1
00092
00093
00094 #define CSP_HAVE_UNISTD_H 1
00095
00096
00097 #define PACKAGE "csp"
00098
00099
00100 #define PACKAGE_BUGREPORT "tudor@hulubei.net"
00101
00102
00103 #define PACKAGE_NAME "CSP Library"
00104
00105
00106 #define PACKAGE_STRING "CSP Library 0.4.2"
00107
00108
00109 #define PACKAGE_TARNAME "csp"
00110
00111
00112 #define PACKAGE_VERSION "0.4.2"
00113
00114
00115 #define RETSIGTYPE void
00116
00117
00118 #define STDC_HEADERS 1
00119
00120
00121 #define TIME_WITH_SYS_TIME 1
00122
00123
00124 #define VERSION "0.4.2"
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137 #include <csp_config_bottom.h>
00138
00139
00140 #ifdef _AIX
00141 #include <pthreads.h>
00142 #endif
00143
00144 #include <sys/types.h>
00145
00146
00147 #ifndef _GNU_SOURCE
00148 #define _GNU_SOURCE
00149 #endif
00150
00151
00152 #ifndef _REENTRANT
00153 #define _REENTRANT
00154 #endif
00155
00156
00157 #ifndef _THREAD_SAFE
00158 #define _THREAD_SAFE
00159 #endif
00160
00161
00162 #ifndef _LARGEFILE64_SOURCE
00163 #define _LARGEFILE64_SOURCE
00164 #endif
00165
00166
00167 #ifdef _MSC_VER
00168
00169
00170 #pragma warning(disable: 4503)
00171 #pragma warning(disable: 4786)
00172
00173
00174 #pragma warning(disable: 4251)
00175 #pragma warning(disable: 4275)
00176 #endif // _MSC_VER
00177
00178
00179 #ifdef _WIN32
00180
00181 #ifndef longlong
00182 #define longlong __int64
00183 #endif // longlong
00184
00185 #ifndef ulonglong
00186 #define ulonglong unsigned __int64
00187 #endif // ulonglong
00188
00189 #ifndef LLN
00190 #define LLN(x) x##I64
00191 #endif
00192
00193 #ifndef ULLN
00194 #define ULLN(x) x##UI64
00195 #endif
00196
00197 #else // !_WIN32
00198
00199 #ifndef longlong
00200 #define longlong long long
00201 #endif // longlong
00202
00203 #ifndef ulonglong
00204 #define ulonglong unsigned long long
00205 #endif // ulonglong
00206
00207 #ifndef LLN
00208 #define LLN(x) x##LL
00209 #endif
00210
00211 #ifndef ULLN
00212 #define ULLN(x) x##ULL
00213 #endif
00214
00215 #endif // !_WIN32
00216
00217
00218 #define LONGLONG_MAX LLN(9223372036854775807)
00219 #define LONGLONG_MIN (-LONGLONG_MAX - 1)
00220 #define ULONGLONG_MAX ULLN(18446744073709551615)
00221 #define ULONGLONG_MIN ULLN(0)
00222
00223
00224
00225
00226
00227
00228
00229
00230
00231
00232
00233
00234
00235
00236
00237
00238
00239
00240
00241 #ifdef _WIN32
00242 #define stlext stdext
00243 #else
00244 #define stlext __gnu_cxx
00245 #endif // !_WIN32
00246
00247
00248
00249
00250
00251
00252 #ifdef _WIN32
00253
00254 #ifdef CSP_INTERNALS
00255 #define CSP_API __declspec(dllexport)
00256 #define CSP_API_TEMPLATE
00257 #else // !CSP_INTERNALS
00258 #define CSP_API __declspec(dllimport)
00259 #define CSP_API_TEMPLATE extern
00260 #endif // !CSP_INTERNALS
00261 #else // !_WIN32
00262
00263 #define CSP_API
00264 #define CSP_API_TEMPLATE
00265 #endif // !_WIN32
00266
00267
00268
00269
00270
00271
00272
00273 #endif // _CSP_csp_config_H
00274
00275
00276
00277