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