1 // acconfig.h symbols and macros for libstdc++ v3 -*- C++ -*-
3 // Defines libstdc++ version.
13 // Define if GCC supports weak symbols.
14 #undef _GLIBCPP_SUPPORTS_WEAK
16 // Include I/O support for 'long long' and 'unsigned long long'.
17 #undef _GLIBCPP_USE_LONG_LONG
19 // Define if C99 features such as lldiv_t, llabs, lldiv should be exposed.
20 #undef _GLIBCPP_USE_C99
22 // Include support for 'long double'.
23 #undef _GLIBCPP_USE_LONG_DOUBLE
25 // Include support for shadow headers, ie --enable-cshadow-headers.
26 #undef _GLIBCPP_USE_SHADOW_HEADERS
28 // Define if code specialized for wchar_t should be used.
29 #undef _GLIBCPP_USE_WCHAR_T
31 // Define if using setrlimit to limit memory usage during 'make check'.
32 #undef _GLIBCPP_MEM_LIMITS
34 // Define to use concept checking code from the boost libraries.
35 #undef _GLIBCPP_CONCEPT_CHECKS
37 // Define if the atan2f function exists.
38 #undef _GLIBCPP_HAVE_ATAN2F
40 // Define if the atan2l function exists.
41 #undef _GLIBCPP_HAVE_ATAN2L
43 // Define if the copysignf function exists.
44 #undef _GLIBCPP_HAVE_COPYSIGNF
46 // Define to use symbol versioning in the shared library.
47 #undef _GLIBCPP_SYMVER
49 // Define symbol versioning in assember directives. If symbol
50 // versioning is beigng used, and the assembler supports this kind of
51 // thing, then use it.
52 // NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4.
54 #define _GLIBCPP_ASM_SYMVER(cur, old, version) \
55 asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version);
57 #define _GLIBCPP_ASM_SYMVER(cur, old, version)
60 // Define if gthr-default.h exists (meaning that threading support is enabled).
61 #undef HAVE_GTHR_DEFAULT
63 // Define if drand48 exists.
66 // Define if getpagesize exists.
67 #undef HAVE_GETPAGESIZE
69 // Define if setenv exists.
72 // Define if sigsetjmp exists.
75 // Define if mbstate_t exists in wchar.h.
78 // Define if you have the modff function.
81 // Define if you have the modfl function.
84 // Define if you have the expf function.
87 // Define if you have the expl function.
90 // Define if you have the hypotf function.
93 // Define if you have the hypotl function.
96 // Define if the compiler/host combination has __builtin_abs
97 #undef HAVE___BUILTIN_ABS
99 // Define if the compiler/host combination has __builtin_labs
100 #undef HAVE___BUILTIN_LABS
102 // Define if the compiler/host combination has __builtin_cos
103 #undef HAVE___BUILTIN_COS
105 // Define if the compiler/host combination has __builtin_cosf
106 #undef HAVE___BUILTIN_COSF
108 // Define if the compiler/host combination has __builtin_cosl
109 #undef HAVE___BUILTIN_COSL
111 // Define if the compiler/host combination has __builtin_fabs
112 #undef HAVE___BUILTIN_FABS
114 // Define if the compiler/host combination has __builtin_fabsf
115 #undef HAVE___BUILTIN_FABSF
117 // Define if the compiler/host combination has __builtin_fabsl
118 #undef HAVE___BUILTIN_FABSL
120 // Define if the compiler/host combination has __builtin_sin
121 #undef HAVE___BUILTIN_SIN
123 // Define if the compiler/host combination has __builtin_sinf
124 #undef HAVE___BUILTIN_SINF
126 // Define if the compiler/host combination has __builtin_sinl
127 #undef HAVE___BUILTIN_SINL
129 // Define if the compiler/host combination has __builtin_sqrt
130 #undef HAVE___BUILTIN_SQRT
132 // Define if the compiler/host combination has __builtin_sqrtf
133 #undef HAVE___BUILTIN_SQRTF
135 // Define if the compiler/host combination has __builtin_sqrtl
136 #undef HAVE___BUILTIN_SQRTL
138 // Define if poll is available in <poll.h>.
141 // Define if S_ISREG (Posix) is available in <sys/stat.h>.
144 // Define if S_IFREG is available in <sys/stat.h>.
147 // Define if LC_MESSAGES is available in <locale.h>.
148 #undef HAVE_LC_MESSAGES
150 // Define if <float.h> exists.
153 // Define if modf is present in <math.h>
156 // Define if NLS translations are to be used.
157 #undef _GLIBCPP_USE_NLS
161 // Systems that have certain non-standard functions prefixed with an
162 // underscore, we'll handle those here. Must come after config.h.in.
164 #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
165 # define HAVE_ISNAN 1
166 # define isnan _isnan
169 #if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF)
170 # define HAVE_ISNANF 1
171 # define isnanf _isnanf
174 #if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL)
175 # define HAVE_ISNANL 1
176 # define isnanl _isnanl
179 #if defined (HAVE__ISINF) && ! defined (HAVE_ISINF)
180 # define HAVE_ISINF 1
181 # define isinf _isinf
184 #if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF)
185 # define HAVE_ISINFF 1
186 # define isinff _isinff
189 #if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL)
190 # define HAVE_ISINFL 1
191 # define isinfl _isinfl
194 #if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN)
195 # define HAVE_COPYSIGN 1
196 # define copysign _copysign
199 #if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL)
200 # define HAVE_COPYSIGNL 1
201 # define copysignl _copysignl
204 #if defined (HAVE__COSF) && ! defined (HAVE_COSF)
209 #if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF)
210 # define HAVE_ACOSF 1
211 # define acosf _acosf
214 #if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL)
215 # define HAVE_ACOSL 1
216 # define acosl _acosl
219 #if defined (HAVE__ASINF) && ! defined (HAVE_ASINF)
220 # define HAVE_ASINF 1
221 # define asinf _asinf
224 #if defined (HAVE__ASINL) && ! defined (HAVE_ASINL)
225 # define HAVE_ASINL 1
226 # define asinl _asinl
229 #if defined (HAVE__ATANF) && ! defined (HAVE_ATANF)
230 # define HAVE_ATANF 1
231 # define atanf _atanf
234 #if defined (HAVE__ATANL) && ! defined (HAVE_ATANL)
235 # define HAVE_ATANL 1
236 # define atanl _atanl
239 #if defined (HAVE__CEILF) && ! defined (HAVE_CEILF)
240 # define HAVE_CEILF 1
241 # define aceil _ceilf
244 #if defined (HAVE__CEILL) && ! defined (HAVE_CEILL)
245 # define HAVE_CEILL 1
246 # define aceil _ceill
249 #if defined (HAVE__COSHF) && ! defined (HAVE_COSHF)
250 # define HAVE_COSHF 1
251 # define coshf _coshf
254 #if defined (HAVE__COSL) && ! defined (HAVE_COSL)
259 #if defined (HAVE__LOGF) && ! defined (HAVE_LOGF)
264 #if defined (HAVE__COSHL) && ! defined (HAVE_COSHL)
265 # define HAVE_COSHL 1
266 # define coshl _coshl
269 #if defined (HAVE__EXPF) && ! defined (HAVE_EXPF)
274 #if defined (HAVE__EXPL) && ! defined (HAVE_EXPL)
279 #if defined (HAVE__FABSF) && ! defined (HAVE_FABSF)
280 # define HAVE_FABSF 1
281 # define fabsf _fabsf
284 #if defined (HAVE__FABSL) && ! defined (HAVE_FABSL)
285 # define HAVE_FABSL 1
286 # define fabsl _fabsl
289 #if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF)
290 # define HAVE_FLOORF 1
291 # define floorf _floorf
294 #if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL)
295 # define HAVE_FLOORL 1
296 # define floorl _floorl
299 #if defined (HAVE__FMODF) && ! defined (HAVE_FMODF)
300 # define HAVE_FMODF 1
301 # define fmodf _fmodf
304 #if defined (HAVE__FMODL) && ! defined (HAVE_FMODL)
305 # define HAVE_FMODL 1
306 # define fmodl _fmodl
309 #if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF)
310 # define HAVE_FREXPF 1
311 # define frexpf _frexpf
314 #if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL)
315 # define HAVE_FREXPL 1
316 # define frexpl _frexpl
319 #if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF)
320 # define HAVE_LDEXPF 1
321 # define ldexpf _ldexpf
324 #if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL)
325 # define HAVE_LDEXPL 1
326 # define ldexpl _ldexpl
329 #if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F)
330 # define HAVE_LOG10F 1
331 # define log10f _log10f
334 #if defined (HAVE__LOGL) && ! defined (HAVE_LOGL)
339 #if defined (HAVE__POWF) && ! defined (HAVE_POWF)
344 #if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L)
345 # define HAVE_LOG10L 1
346 # define log10l _log10l
349 #if defined (HAVE__MODF) && ! defined (HAVE_MODF)
354 #if defined (HAVE__MODL) && ! defined (HAVE_MODL)
359 #if defined (HAVE__SINF) && ! defined (HAVE_SINF)
364 #if defined (HAVE__POWL) && ! defined (HAVE_POWL)
369 #if defined (HAVE__SINHF) && ! defined (HAVE_SINHF)
370 # define HAVE_SINHF 1
371 # define sinhf _sinhf
374 #if defined (HAVE__SINL) && ! defined (HAVE_SINL)
379 #if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF)
380 # define HAVE_SQRTF 1
381 # define sqrtf _sqrtf
384 #if defined (HAVE__SINHL) && ! defined (HAVE_SINHL)
385 # define HAVE_SINHL 1
386 # define sinhl _sinhl
389 #if defined (HAVE__TANF) && ! defined (HAVE_TANF)
394 #if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL)
395 # define HAVE_SQRTL 1
396 # define sqrtl _sqrtl
399 #if defined (HAVE__TANHF) && ! defined (HAVE_TANHF)
400 # define HAVE_TANHF 1
401 # define tanhf _tanhf
404 #if defined (HAVE__TANL) && ! defined (HAVE_TANL)
409 #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)
410 # define HAVE_STRTOF 1
411 # define strtof _strtof
414 #if defined (HAVE__TANHL) && ! defined (HAVE_TANHL)
415 # define HAVE_TANHL 1
416 # define tanhl _tanhl
419 #if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD)
420 # define HAVE_STRTOLD 1
421 # define strtold _strtold
424 #if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS)
425 # define HAVE_SINCOS 1
426 # define sincos _sincos
429 #if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF)
430 # define HAVE_SINCOSF 1
431 # define sincosf _sincosf
434 #if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL)
435 # define HAVE_SINCOSL 1
436 # define sincosl _sincosl
439 #if defined (HAVE__FINITE) && ! defined (HAVE_FINITE)
440 # define HAVE_FINITE 1
441 # define finite _finite
444 #if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF)
445 # define HAVE_FINITEF 1
446 # define finitef _finitef
449 #if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL)
450 # define HAVE_FINITEL 1
451 # define finitel _finitel
454 #if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE)
455 # define HAVE_QFINITE 1
456 # define qfinite _qfinite
459 #if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS)
460 # define HAVE_FPCLASS 1
461 # define fpclass _fpclass
464 #if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS)
465 # define HAVE_QFPCLASS 1
466 # define qfpclass _qfpclass