3 // Autogenerated from config.h.in by bsconf.
6 #ifndef CONFIG_H_01E33670634DAAC779EE5FF41CCBB36F
7 #define CONFIG_H_01E33670634DAAC779EE5FF41CCBB36F
9 // Define to the one symbol short name of this package.
10 #define USTL_NAME "ustl"
11 // Define to the full name and version of this package.
12 #define USTL_STRING "ustl 0.8"
13 // Define to the version of this package.
14 #define USTL_VERSION 0x080
15 // Define to the address where bug reports for this package should be sent.
16 #define USTL_BUGREPORT "Mike Sharov <msharov@users.sourceforge.net>"
18 /// Define to 1 if you want stream operations to throw exceptions on
19 /// insufficient data or insufficient space. All these errors should
20 /// be preventable in output code; the input code should verify the
21 /// data in a separate step. It slows down stream operations a lot,
22 /// but it's your call. By default only debug builds throw.
24 #undef WANT_STREAM_BOUNDS_CHECKING
26 #if !defined(WANT_STREAM_BOUNDS_CHECKING) && !defined(NDEBUG)
27 #define WANT_STREAM_BOUNDS_CHECKING 1
30 /// Define to 1 if you want to build without libstdc++
31 #define WITHOUT_LIBSTDCPP 1
33 /// Define to 1 if you don't want the standard streams.
34 /// You will not be able to run bvt tests if you do this.
36 #undef WITHOUT_CIN_COUT_CERR
38 /// Define GNU extensions if unavailable.
40 /// GCC (and some other compilers) define '__attribute__'; ustl is using this
41 /// macro to alert the compiler to flag inconsistencies in printf/scanf-like
42 /// function calls. Just in case '__attribute__' isn't defined, make a dummy.
45 #define __attribute__(p)
48 #if defined(__GNUC__) && (__GNUC__ >= 4)
49 #define DLL_EXPORT __attribute__((visibility("default")))
50 #define DLL_LOCAL __attribute__((visibility("hidden")))
55 #if defined(__GNUC__) && (__GNUC__ >= 3) && defined(__i386__)
56 /// GCC 3+ supports the prefetch directive, which some CPUs use to improve caching
57 #define prefetch(p,rw,loc) __builtin_prefetch(p,rw,loc)
59 #define prefetch(p,rw,loc)
61 #if !defined(__GNUC__) || (__GNUC__ < 3)
62 /// __alignof__ returns the recommended alignment for the type
63 #define __alignof__(v) min(sizeof(v), sizeof(void*))
66 /// Define to 1 if you have the `atexit' function.
69 /// Define to 1 if you have the <assert.h> header file.
70 #define HAVE_ASSERT_H 1
72 /// Define to 1 if you have the <ctype.h> header file.
73 #define HAVE_CTYPE_H 1
75 /// Define to 1 if you have the <errno.h> header file.
76 #define HAVE_ERRNO_H 1
78 /// Define to 1 if you have the <fcntl.h> header file.
79 #define HAVE_FCNTL_H 1
81 /// Define to 1 if you have the <float.h> header file.
82 #define HAVE_FLOAT_H 1
84 /// Define to 1 if you have the <inttypes.h> header file.
85 #define HAVE_INTTYPES_H 1
87 /// Define to 1 if you have the <limits.h> header file.
88 #define HAVE_LIMITS_H 1
90 /// Define to 1 if you have the <locale.h> header file.
91 #define HAVE_LOCALE_H 1
93 /// Define to 1 if your system has a working `malloc' function.
96 // Define to 1 if you have the <malloc.h> header file.
97 #define HAVE_MALLOC_H 1
99 // Define to 1 if you have the <alloca.h> header file.
100 #define HAVE_ALLOCA_H 1
102 // Define to 1 if you have the `memchr' function.
103 #define HAVE_MEMCHR 1
105 // Define to 1 if you have the `memmove' function.
106 #define HAVE_MEMMOVE 1
108 // Define to 1 if you have the <memory.h> header file.
109 #define HAVE_MEMORY_H 1
111 // Define to 1 if you have the `memset' function.
112 #define HAVE_MEMSET 1
114 // Define to 1 if the system has the type `ptrdiff_t'.
115 #define HAVE_PTRDIFF_T 1
117 // Define to 1 if you have the <signal.h> header file.
118 #define HAVE_SIGNAL_H 1
120 // Define to 1 if you have the __va_copy function
121 #define HAVE_VA_COPY 1
123 // Define to 1 if `stat' has the bug that it succeeds when given the
124 // zero-length file name argument.
125 /* #undef HAVE_STAT_EMPTY_STRING_BUG */
127 // Define to 1 if you have the <stdarg.h> header file.
128 #define HAVE_STDARG_H 1
130 // Define to 1 if you have the <stddef.h> header file.
131 #define HAVE_STDDEF_H 1
133 // Define to 1 if you have the <stdint.h> header file.
134 #define HAVE_STDINT_H 1
136 // Define to 1 if you have the <stdio.h> header file.
137 #define HAVE_STDIO_H 1
139 // Define to 1 if you have the <stdlib.h> header file.
140 #define HAVE_STDLIB_H 1
142 // Define to 1 if you have the `strerror' function.
143 #define HAVE_STRERROR 1
145 // Define to 1 if you have the <strings.h> header file.
146 #define HAVE_STRINGS_H 1
148 // Define to 1 if you have the <string.h> header file.
149 #define HAVE_STRING_H 1
151 // Define to 1 if you have the `strrchr' function.
152 #define HAVE_STRRCHR 1
154 // Define to 1 if you have the `strsignal' function.
155 #define HAVE_STRSIGNAL 1
157 // Define to 1 if you have the `strtol' function.
158 #define HAVE_STRTOL 1
160 // Define to 1 if you have the <sys/stat.h> header file.
161 #define HAVE_SYS_STAT_H 1
163 // Define to 1 if you have the <sys/types.h> header file.
164 #define HAVE_SYS_TYPES_H 1
166 // Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible.
167 #define HAVE_SYS_WAIT_H 1
169 // Define to 1 if you have the <time.h> header file.
170 #define HAVE_TIME_H 1
172 // Define to 1 if you have the <unistd.h> header file.
173 #define HAVE_UNISTD_H 1
175 // Define to 1 if you have the <math.h> header file.
176 #define HAVE_MATH_H 1
178 // Define to 1 if you have the rintf function. Will use rint otherwise.
181 // STDC_HEADERS is defined to 1 on sane systems.
182 #if defined(HAVE_ASSERT_H) && defined(HAVE_CTYPE_H) &&\
183 defined(HAVE_ERRNO_H) && defined(HAVE_FLOAT_H) &&\
184 defined(HAVE_LIMITS_H) && defined(HAVE_LOCALE_H) &&\
185 defined(HAVE_MATH_H) && defined(HAVE_SIGNAL_H) &&\
186 defined(HAVE_STDARG_H) && defined(HAVE_STDDEF_H) &&\
187 defined(HAVE_STDIO_H) && defined(HAVE_STDLIB_H) &&\
188 defined(HAVE_STRING_H) && defined(HAVE_TIME_H)
189 #define STDC_HEADERS 1
192 // STDC_HEADERS is defined to 1 on unix systems.
193 #if defined(HAVE_FCNTL_H) && defined(HAVE_SYS_STAT_H) && defined(HAVE_UNISTD_H)
194 #define STDUNIX_HEADERS 1
197 // Define to 1 if you have the <byteswap.h> header file.
198 #if (__GNUC__ >= 3) // gcc 2.95 somehow doesn't recognize 'asm volatile' in libc byteswap.h
199 #define HAVE_BYTESWAP_H 1
202 // Define to 1 if `lstat' dereferences a symlink specified with a trailing slash.
203 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
205 // Define to 1 if your compiler treats char as a separate type along with
206 // signed char and unsigned char. This will create overloads for char.
207 #define HAVE_THREE_CHAR_TYPES 1
209 // Define as the return type of signal handlers (`int' or `void').
210 #define RETSIGTYPE void
212 // Define to 1 if you have 64 bit types available
213 #define HAVE_INT64_T 1
215 // Define to 1 if you have the long long type
216 #define HAVE_LONG_LONG 1
218 // Define to 1 if you want unrolled specializations for fill and copy
219 #undef WANT_UNROLLED_COPY
221 // Define to 1 if you want to use MMX/SSE/3dNow! processor instructions
224 // Define to byte sizes of types
225 #define SIZE_OF_CHAR 1
226 #define SIZE_OF_SHORT 2
227 #define SIZE_OF_INT 4
228 #define SIZE_OF_LONG 4
229 #define SIZE_OF_LONG_LONG 8
230 #define SIZE_OF_POINTER 4
231 #define SIZE_OF_SIZE_T 4
232 #define SIZE_OF_BOOL SIZE_OF_CHAR
233 #undef SIZE_T_IS_LONG
235 // Byte order macros, converted in utypes.h
236 #define USTL_LITTLE_ENDIAN 4321
237 #define USTL_BIG_ENDIAN 1234
238 #define USTL_BYTE_ORDER USTL_LITTLE_ENDIAN
240 // Extended CPU capabilities
241 #define CPU_HAS_FPU 1
242 #define CPU_HAS_EXT_DEBUG 1
243 #define CPU_HAS_TIMESTAMPC 1
244 #define CPU_HAS_MSR 1
245 #define CPU_HAS_CMPXCHG8 1
246 #define CPU_HAS_APIC 1
247 #define CPU_HAS_SYSCALL 1
248 #define CPU_HAS_MTRR 1
249 #define CPU_HAS_CMOV 1
250 #define CPU_HAS_FCMOV 1
253 #undef CPU_HAS_FXSAVE
255 #undef CPU_HAS_SSE2 1
257 #undef CPU_HAS_EXT_3DNOW
261 // GCC vector extensions
262 #if defined(CPU_HAS_MMX) || defined(CPU_HAS_SSE)
263 #undef HAVE_VECTOR_EXTENSIONS
266 #if CPU_HAS_SSE && defined(__GNUC__)
267 #define __sse_align __attribute__((aligned(16)))
272 // Define to empty if `const' does not conform to ANSI C.
275 // Define as `__inline' if that's what the C compiler calls it, or to nothing
276 // if it is not supported.
277 /* #define inline __inline */
279 // Define to `long' if <sys/types.h> does not define.
280 /* typedef long off_t; */
282 // Define to `unsigned' if <sys/types.h> does not define.
283 /* typedef long size_t; */
285 #endif // CONFIG_H_01E33670634DAAC779EE5FF41CCBB36F
This page took 0.053972 seconds and 5 git commands to generate.