1 // Symbols and macros for libstdc++ -*- C++ -*-
3 // Defines libstdc++ version.
8 // Define if code specialized for long long should be used.
9 #undef _GLIBCXX_USE_LONG_LONG
11 // Define if code specialized for wchar_t should be used.
12 #undef _GLIBCXX_USE_WCHAR_T
14 // Define if C99 functions or macros from <wchar.h>, <math.h>,
15 // <complex.h>, <stdio.h>, and <stdlib.h> can be used or exposed.
16 #undef _GLIBCXX_USE_C99
18 // Define if C99 functions or macros in <math.h> should be imported in
19 // <cmath> in namespace std.
20 #undef _GLIBCXX_USE_C99_MATH
22 // Define if C99 functions in <complex.h> should be used in
23 // <complex>. Using compiler builtins for these functions requires
24 // corresponding C99 library functions to be present.
25 #undef _GLIBCXX_USE_C99_COMPLEX
27 // Define if using setrlimit to set resource limits during 'make check'.
28 #undef _GLIBCXX_RES_LIMITS
30 // Define to use concept checking code from the boost libraries.
31 #undef _GLIBCXX_CONCEPT_CHECKS
33 // Define to use symbol versioning in the shared library.
34 #undef _GLIBCXX_SYMVER
36 // Define symbol versioning in assember directives. If symbol
37 // versioning is beigng used, and the assembler supports this kind of
38 // thing, then use it.
39 // NB: _GLIBCXX_AT_AT is a hack to work around quoting issues in m4.
41 #define _GLIBCXX_ASM_SYMVER(cur, old, version) \
42 asm (".symver " #cur "," #old _GLIBCXX_AT_AT #version);
44 #define _GLIBCXX_ASM_SYMVER(cur, old, version)
47 // Define if LFS support is available.
48 #undef _GLIBCXX_USE_LFS
50 // Define if a fully dynamic basic_string is wanted.
51 #undef _GLIBCXX_FULLY_DYNAMIC_STRING
53 // Define if NLS translations are to be used.
54 #undef _GLIBCXX_USE_NLS
56 // Define if gthr-default.h exists (meaning that threading support is enabled).
57 #undef HAVE_GTHR_DEFAULT
59 // Define if mbstate_t exists in wchar.h.
62 // Define if poll is available in <poll.h>.
65 // Define if S_ISREG (Posix) is available in <sys/stat.h>.
68 // Define if S_IFREG is available in <sys/stat.h>.
71 // Define if writev is available in <sys/uio.h>.
74 // Define if int64_t is available in <stdint.h>.
77 // Define if LC_MESSAGES is available in <locale.h>.
78 #undef HAVE_LC_MESSAGES
80 // Define if <float.h> exists.
85 // Systems that have certain non-standard functions prefixed with an
86 // underscore, we'll handle those here. Must come after config.h.in.
88 #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
93 #if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF)
94 # define HAVE_ISNANF 1
95 # define isnanf _isnanf
98 #if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL)
99 # define HAVE_ISNANL 1
100 # define isnanl _isnanl
103 #if defined (HAVE__ISINF) && ! defined (HAVE_ISINF)
104 # define HAVE_ISINF 1
105 # define isinf _isinf
108 #if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF)
109 # define HAVE_ISINFF 1
110 # define isinff _isinff
113 #if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL)
114 # define HAVE_ISINFL 1
115 # define isinfl _isinfl
118 #if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN)
119 # define HAVE_COPYSIGN 1
120 # define copysign _copysign
123 #if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL)
124 # define HAVE_COPYSIGNL 1
125 # define copysignl _copysignl
128 #if defined (HAVE__COSF) && ! defined (HAVE_COSF)
133 #if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF)
134 # define HAVE_ACOSF 1
135 # define acosf _acosf
138 #if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL)
139 # define HAVE_ACOSL 1
140 # define acosl _acosl
143 #if defined (HAVE__ASINF) && ! defined (HAVE_ASINF)
144 # define HAVE_ASINF 1
145 # define asinf _asinf
148 #if defined (HAVE__ASINL) && ! defined (HAVE_ASINL)
149 # define HAVE_ASINL 1
150 # define asinl _asinl
153 #if defined (HAVE__ATANF) && ! defined (HAVE_ATANF)
154 # define HAVE_ATANF 1
155 # define atanf _atanf
158 #if defined (HAVE__ATANL) && ! defined (HAVE_ATANL)
159 # define HAVE_ATANL 1
160 # define atanl _atanl
163 #if defined (HAVE__CEILF) && ! defined (HAVE_CEILF)
164 # define HAVE_CEILF 1
165 # define aceil _ceilf
168 #if defined (HAVE__CEILL) && ! defined (HAVE_CEILL)
169 # define HAVE_CEILL 1
170 # define aceil _ceill
173 #if defined (HAVE__COSHF) && ! defined (HAVE_COSHF)
174 # define HAVE_COSHF 1
175 # define coshf _coshf
178 #if defined (HAVE__COSL) && ! defined (HAVE_COSL)
183 #if defined (HAVE__LOGF) && ! defined (HAVE_LOGF)
188 #if defined (HAVE__COSHL) && ! defined (HAVE_COSHL)
189 # define HAVE_COSHL 1
190 # define coshl _coshl
193 #if defined (HAVE__EXPF) && ! defined (HAVE_EXPF)
198 #if defined (HAVE__EXPL) && ! defined (HAVE_EXPL)
203 #if defined (HAVE__FABSF) && ! defined (HAVE_FABSF)
204 # define HAVE_FABSF 1
205 # define fabsf _fabsf
208 #if defined (HAVE__FABSL) && ! defined (HAVE_FABSL)
209 # define HAVE_FABSL 1
210 # define fabsl _fabsl
213 #if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF)
214 # define HAVE_FLOORF 1
215 # define floorf _floorf
218 #if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL)
219 # define HAVE_FLOORL 1
220 # define floorl _floorl
223 #if defined (HAVE__FMODF) && ! defined (HAVE_FMODF)
224 # define HAVE_FMODF 1
225 # define fmodf _fmodf
228 #if defined (HAVE__FMODL) && ! defined (HAVE_FMODL)
229 # define HAVE_FMODL 1
230 # define fmodl _fmodl
233 #if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF)
234 # define HAVE_FREXPF 1
235 # define frexpf _frexpf
238 #if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL)
239 # define HAVE_FREXPL 1
240 # define frexpl _frexpl
243 #if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF)
244 # define HAVE_LDEXPF 1
245 # define ldexpf _ldexpf
248 #if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL)
249 # define HAVE_LDEXPL 1
250 # define ldexpl _ldexpl
253 #if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F)
254 # define HAVE_LOG10F 1
255 # define log10f _log10f
258 #if defined (HAVE__LOGL) && ! defined (HAVE_LOGL)
263 #if defined (HAVE__POWF) && ! defined (HAVE_POWF)
268 #if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L)
269 # define HAVE_LOG10L 1
270 # define log10l _log10l
273 #if defined (HAVE__MODF) && ! defined (HAVE_MODF)
278 #if defined (HAVE__MODL) && ! defined (HAVE_MODL)
283 #if defined (HAVE__SINF) && ! defined (HAVE_SINF)
288 #if defined (HAVE__POWL) && ! defined (HAVE_POWL)
293 #if defined (HAVE__SINHF) && ! defined (HAVE_SINHF)
294 # define HAVE_SINHF 1
295 # define sinhf _sinhf
298 #if defined (HAVE__SINL) && ! defined (HAVE_SINL)
303 #if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF)
304 # define HAVE_SQRTF 1
305 # define sqrtf _sqrtf
308 #if defined (HAVE__SINHL) && ! defined (HAVE_SINHL)
309 # define HAVE_SINHL 1
310 # define sinhl _sinhl
313 #if defined (HAVE__TANF) && ! defined (HAVE_TANF)
318 #if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL)
319 # define HAVE_SQRTL 1
320 # define sqrtl _sqrtl
323 #if defined (HAVE__TANHF) && ! defined (HAVE_TANHF)
324 # define HAVE_TANHF 1
325 # define tanhf _tanhf
328 #if defined (HAVE__TANL) && ! defined (HAVE_TANL)
333 #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)
334 # define HAVE_STRTOF 1
335 # define strtof _strtof
338 #if defined (HAVE__TANHL) && ! defined (HAVE_TANHL)
339 # define HAVE_TANHL 1
340 # define tanhl _tanhl
343 #if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD)
344 # define HAVE_STRTOLD 1
345 # define strtold _strtold
348 #if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS)
349 # define HAVE_SINCOS 1
350 # define sincos _sincos
353 #if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF)
354 # define HAVE_SINCOSF 1
355 # define sincosf _sincosf
358 #if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL)
359 # define HAVE_SINCOSL 1
360 # define sincosl _sincosl
363 #if defined (HAVE__FINITE) && ! defined (HAVE_FINITE)
364 # define HAVE_FINITE 1
365 # define finite _finite
368 #if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF)
369 # define HAVE_FINITEF 1
370 # define finitef _finitef
373 #if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL)
374 # define HAVE_FINITEL 1
375 # define finitel _finitel
378 #if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE)
379 # define HAVE_QFINITE 1
380 # define qfinite _qfinite
383 #if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS)
384 # define HAVE_FPCLASS 1
385 # define fpclass _fpclass
388 #if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS)
389 # define HAVE_QFPCLASS 1
390 # define qfpclass _qfpclass