1 // acconfig.h symbols and macros for libstdc++ v3 -*- C++ -*-
3 // Defines libstdc++ version.
13 // Include I/O support for 'long long' and 'unsigned long long'.
14 #undef _GLIBCXX_USE_LONG_LONG
16 // Define if C99 math functions (like fpclassify) should be exposed.
17 #undef _GLIBCXX_USE_C99_MATH
19 // Define if C99 features such as lldiv_t, llabs, lldiv should be exposed.
20 #undef _GLIBCXX_USE_C99
22 // Define if code specialized for wchar_t should be used.
23 #undef _GLIBCXX_USE_WCHAR_T
25 // Define if using setrlimit to set resource limits during 'make check'.
26 #undef _GLIBCXX_RES_LIMITS
28 // Define to use concept checking code from the boost libraries.
29 #undef _GLIBCXX_CONCEPT_CHECKS
31 // Define to use symbol versioning in the shared library.
32 #undef _GLIBCXX_SYMVER
34 // Define symbol versioning in assember directives. If symbol
35 // versioning is beigng used, and the assembler supports this kind of
36 // thing, then use it.
37 // NB: _GLIBCXX_AT_AT is a hack to work around quoting issues in m4.
39 #define _GLIBCXX_ASM_SYMVER(cur, old, version) \
40 asm (".symver " #cur "," #old _GLIBCXX_AT_AT #version);
42 #define _GLIBCXX_ASM_SYMVER(cur, old, version)
45 // Define if LFS support is available.
46 #undef _GLIBCXX_USE_LFS
48 // Define if NLS translations are to be used.
49 #undef _GLIBCXX_USE_NLS
51 // Define if gthr-default.h exists (meaning that threading support is enabled).
52 #undef HAVE_GTHR_DEFAULT
54 // Define if the atan2f function exists.
57 // Define if the atan2l function exists.
60 // Define if the tanl function exists.
63 // Define if the copysignf function 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 hypot function.
93 // Define if you have the hypotf function.
96 // Define if you have the hypotl function.
99 // Define if the compiler/host combination has __builtin_abs
100 #undef HAVE___BUILTIN_ABS
102 // Define if the compiler/host combination has __builtin_labs
103 #undef HAVE___BUILTIN_LABS
105 // Define if the compiler/host combination has __builtin_cos
106 #undef HAVE___BUILTIN_COS
108 // Define if the compiler/host combination has __builtin_cosf
109 #undef HAVE___BUILTIN_COSF
111 // Define if the compiler/host combination has __builtin_cosl
112 #undef HAVE___BUILTIN_COSL
114 // Define if the compiler/host combination has __builtin_fabs
115 #undef HAVE___BUILTIN_FABS
117 // Define if the compiler/host combination has __builtin_fabsf
118 #undef HAVE___BUILTIN_FABSF
120 // Define if the compiler/host combination has __builtin_fabsl
121 #undef HAVE___BUILTIN_FABSL
123 // Define if the compiler/host combination has __builtin_sin
124 #undef HAVE___BUILTIN_SIN
126 // Define if the compiler/host combination has __builtin_sinf
127 #undef HAVE___BUILTIN_SINF
129 // Define if the compiler/host combination has __builtin_sinl
130 #undef HAVE___BUILTIN_SINL
132 // Define if the compiler/host combination has __builtin_sqrt
133 #undef HAVE___BUILTIN_SQRT
135 // Define if the compiler/host combination has __builtin_sqrtf
136 #undef HAVE___BUILTIN_SQRTF
138 // Define if the compiler/host combination has __builtin_sqrtl
139 #undef HAVE___BUILTIN_SQRTL
141 // Define if poll is available in <poll.h>.
144 // Define if S_ISREG (Posix) is available in <sys/stat.h>.
147 // Define if S_IFREG is available in <sys/stat.h>.
150 // Define if writev is available in <sys/uio.h>.
153 // Define if int64_t is available in <stdint.h>.
156 // Define if LC_MESSAGES is available in <locale.h>.
157 #undef HAVE_LC_MESSAGES
159 // Define if <float.h> exists.
162 // Define if modf is present in <math.h>
167 // Systems that have certain non-standard functions prefixed with an
168 // underscore, we'll handle those here. Must come after config.h.in.
170 #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
171 # define HAVE_ISNAN 1
172 # define isnan _isnan
175 #if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF)
176 # define HAVE_ISNANF 1
177 # define isnanf _isnanf
180 #if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL)
181 # define HAVE_ISNANL 1
182 # define isnanl _isnanl
185 #if defined (HAVE__ISINF) && ! defined (HAVE_ISINF)
186 # define HAVE_ISINF 1
187 # define isinf _isinf
190 #if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF)
191 # define HAVE_ISINFF 1
192 # define isinff _isinff
195 #if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL)
196 # define HAVE_ISINFL 1
197 # define isinfl _isinfl
200 #if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN)
201 # define HAVE_COPYSIGN 1
202 # define copysign _copysign
205 #if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL)
206 # define HAVE_COPYSIGNL 1
207 # define copysignl _copysignl
210 #if defined (HAVE__COSF) && ! defined (HAVE_COSF)
215 #if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF)
216 # define HAVE_ACOSF 1
217 # define acosf _acosf
220 #if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL)
221 # define HAVE_ACOSL 1
222 # define acosl _acosl
225 #if defined (HAVE__ASINF) && ! defined (HAVE_ASINF)
226 # define HAVE_ASINF 1
227 # define asinf _asinf
230 #if defined (HAVE__ASINL) && ! defined (HAVE_ASINL)
231 # define HAVE_ASINL 1
232 # define asinl _asinl
235 #if defined (HAVE__ATANF) && ! defined (HAVE_ATANF)
236 # define HAVE_ATANF 1
237 # define atanf _atanf
240 #if defined (HAVE__ATANL) && ! defined (HAVE_ATANL)
241 # define HAVE_ATANL 1
242 # define atanl _atanl
245 #if defined (HAVE__CEILF) && ! defined (HAVE_CEILF)
246 # define HAVE_CEILF 1
247 # define aceil _ceilf
250 #if defined (HAVE__CEILL) && ! defined (HAVE_CEILL)
251 # define HAVE_CEILL 1
252 # define aceil _ceill
255 #if defined (HAVE__COSHF) && ! defined (HAVE_COSHF)
256 # define HAVE_COSHF 1
257 # define coshf _coshf
260 #if defined (HAVE__COSL) && ! defined (HAVE_COSL)
265 #if defined (HAVE__LOGF) && ! defined (HAVE_LOGF)
270 #if defined (HAVE__COSHL) && ! defined (HAVE_COSHL)
271 # define HAVE_COSHL 1
272 # define coshl _coshl
275 #if defined (HAVE__EXPF) && ! defined (HAVE_EXPF)
280 #if defined (HAVE__EXPL) && ! defined (HAVE_EXPL)
285 #if defined (HAVE__FABSF) && ! defined (HAVE_FABSF)
286 # define HAVE_FABSF 1
287 # define fabsf _fabsf
290 #if defined (HAVE__FABSL) && ! defined (HAVE_FABSL)
291 # define HAVE_FABSL 1
292 # define fabsl _fabsl
295 #if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF)
296 # define HAVE_FLOORF 1
297 # define floorf _floorf
300 #if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL)
301 # define HAVE_FLOORL 1
302 # define floorl _floorl
305 #if defined (HAVE__FMODF) && ! defined (HAVE_FMODF)
306 # define HAVE_FMODF 1
307 # define fmodf _fmodf
310 #if defined (HAVE__FMODL) && ! defined (HAVE_FMODL)
311 # define HAVE_FMODL 1
312 # define fmodl _fmodl
315 #if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF)
316 # define HAVE_FREXPF 1
317 # define frexpf _frexpf
320 #if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL)
321 # define HAVE_FREXPL 1
322 # define frexpl _frexpl
325 #if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF)
326 # define HAVE_LDEXPF 1
327 # define ldexpf _ldexpf
330 #if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL)
331 # define HAVE_LDEXPL 1
332 # define ldexpl _ldexpl
335 #if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F)
336 # define HAVE_LOG10F 1
337 # define log10f _log10f
340 #if defined (HAVE__LOGL) && ! defined (HAVE_LOGL)
345 #if defined (HAVE__POWF) && ! defined (HAVE_POWF)
350 #if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L)
351 # define HAVE_LOG10L 1
352 # define log10l _log10l
355 #if defined (HAVE__MODF) && ! defined (HAVE_MODF)
360 #if defined (HAVE__MODL) && ! defined (HAVE_MODL)
365 #if defined (HAVE__SINF) && ! defined (HAVE_SINF)
370 #if defined (HAVE__POWL) && ! defined (HAVE_POWL)
375 #if defined (HAVE__SINHF) && ! defined (HAVE_SINHF)
376 # define HAVE_SINHF 1
377 # define sinhf _sinhf
380 #if defined (HAVE__SINL) && ! defined (HAVE_SINL)
385 #if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF)
386 # define HAVE_SQRTF 1
387 # define sqrtf _sqrtf
390 #if defined (HAVE__SINHL) && ! defined (HAVE_SINHL)
391 # define HAVE_SINHL 1
392 # define sinhl _sinhl
395 #if defined (HAVE__TANF) && ! defined (HAVE_TANF)
400 #if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL)
401 # define HAVE_SQRTL 1
402 # define sqrtl _sqrtl
405 #if defined (HAVE__TANHF) && ! defined (HAVE_TANHF)
406 # define HAVE_TANHF 1
407 # define tanhf _tanhf
410 #if defined (HAVE__TANL) && ! defined (HAVE_TANL)
415 #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)
416 # define HAVE_STRTOF 1
417 # define strtof _strtof
420 #if defined (HAVE__TANHL) && ! defined (HAVE_TANHL)
421 # define HAVE_TANHL 1
422 # define tanhl _tanhl
425 #if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD)
426 # define HAVE_STRTOLD 1
427 # define strtold _strtold
430 #if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS)
431 # define HAVE_SINCOS 1
432 # define sincos _sincos
435 #if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF)
436 # define HAVE_SINCOSF 1
437 # define sincosf _sincosf
440 #if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL)
441 # define HAVE_SINCOSL 1
442 # define sincosl _sincosl
445 #if defined (HAVE__FINITE) && ! defined (HAVE_FINITE)
446 # define HAVE_FINITE 1
447 # define finite _finite
450 #if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF)
451 # define HAVE_FINITEF 1
452 # define finitef _finitef
455 #if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL)
456 # define HAVE_FINITEL 1
457 # define finitel _finitel
460 #if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE)
461 # define HAVE_QFINITE 1
462 # define qfinite _qfinite
465 #if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS)
466 # define HAVE_FPCLASS 1
467 # define fpclass _fpclass
470 #if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS)
471 # define HAVE_QFPCLASS 1
472 # define qfpclass _qfpclass