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 // Define if gthr-default.h exists (meaning that threading support is enabled).
17 #undef HAVE_GTHR_DEFAULT
19 // Include I/O support for 'long long' and 'unsigned long long'.
20 #undef _GLIBCPP_USE_LONG_LONG
22 // Define if C99 features such as lldiv_t, llabs, lldiv should be exposed.
23 #undef _GLIBCPP_USE_C99
25 // Include support for 'long double'.
26 #undef _GLIBCPP_USE_LONG_DOUBLE
28 // Include support for shadow headers, ie --enable-cshadow-headers.
29 #undef _GLIBCPP_USE_SHADOW_HEADERS
31 // Define if code specialized for wchar_t should be used.
32 #undef _GLIBCPP_USE_WCHAR_T
34 // Define if using setrlimit to limit memory usage during 'make check'.
35 #undef _GLIBCPP_MEM_LIMITS
37 // Define to use concept checking code from the boost libraries.
38 #undef _GLIBCPP_CONCEPT_CHECKS
40 // Define if you have the atan2f function.
41 #undef _GLIBCPP_HAVE_ATAN2F
43 // Define if you have the atan2l function.
44 #undef _GLIBCPP_HAVE_ATAN2L
46 // Define if you have the copysignf function.
47 #undef _GLIBCPP_HAVE_COPYSIGNF
49 // Define to use symbol versioning in the shared library.
50 #undef _GLIBCPP_SYMVER
52 // Define symbol versioning in assember directives. If symbol
53 // versioning is beigng used, and the assembler supports this kind of
54 // thing, then use it.
55 // NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4.
57 #define _GLIBCPP_ASM_SYMVER(cur, old, version) \
58 asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version);
60 #define _GLIBCPP_ASM_SYMVER(cur, old, version)
63 // Define if mbstate_t exists in wchar.h.
66 // Define if you have the modff function.
69 // Define if you have the modfl function.
72 // Define if you have the expf function.
75 // Define if you have the expl function.
78 // Define if you have the hypotf function.
81 // Define if you have the hypotl function.
84 // Define if the compiler/host combination has __builtin_abs
85 #undef HAVE___BUILTIN_ABS
87 // Define if the compiler/host combination has __builtin_labs
88 #undef HAVE___BUILTIN_LABS
90 // Define if the compiler/host combination has __builtin_cos
91 #undef HAVE___BUILTIN_COS
93 // Define if the compiler/host combination has __builtin_cosf
94 #undef HAVE___BUILTIN_COSF
96 // Define if the compiler/host combination has __builtin_cosl
97 #undef HAVE___BUILTIN_COSL
99 // Define if the compiler/host combination has __builtin_fabs
100 #undef HAVE___BUILTIN_FABS
102 // Define if the compiler/host combination has __builtin_fabsf
103 #undef HAVE___BUILTIN_FABSF
105 // Define if the compiler/host combination has __builtin_fabsl
106 #undef HAVE___BUILTIN_FABSL
108 // Define if the compiler/host combination has __builtin_sin
109 #undef HAVE___BUILTIN_SIN
111 // Define if the compiler/host combination has __builtin_sinf
112 #undef HAVE___BUILTIN_SINF
114 // Define if the compiler/host combination has __builtin_sinl
115 #undef HAVE___BUILTIN_SINL
117 // Define if the compiler/host combination has __builtin_sqrt
118 #undef HAVE___BUILTIN_SQRT
120 // Define if the compiler/host combination has __builtin_sqrtf
121 #undef HAVE___BUILTIN_SQRTF
123 // Define if the compiler/host combination has __builtin_sqrtl
124 #undef HAVE___BUILTIN_SQRTL
126 // Define if LC_MESSAGES is available in <locale.h>.
127 #undef HAVE_LC_MESSAGES
129 // Define if <float.h> exists.
132 // Define if modf is present in <math.h>
137 // Systems that have certain non-standard functions prefixed with an
138 // underscore, we'll handle those here. Must come after config.h.in.
140 #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
141 # define HAVE_ISNAN 1
142 # define isnan _isnan
145 #if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF)
146 # define HAVE_ISNANF 1
147 # define isnanf _isnanf
150 #if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL)
151 # define HAVE_ISNANL 1
152 # define isnanl _isnanl
155 #if defined (HAVE__ISINF) && ! defined (HAVE_ISINF)
156 # define HAVE_ISINF 1
157 # define isinf _isinf
160 #if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF)
161 # define HAVE_ISINFF 1
162 # define isinff _isinff
165 #if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL)
166 # define HAVE_ISINFL 1
167 # define isinfl _isinfl
170 #if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN)
171 # define HAVE_COPYSIGN 1
172 # define copysign _copysign
175 #if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL)
176 # define HAVE_COPYSIGNL 1
177 # define copysignl _copysignl
180 #if defined (HAVE__COSF) && ! defined (HAVE_COSF)
185 #if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF)
186 # define HAVE_ACOSF 1
187 # define acosf _acosf
190 #if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL)
191 # define HAVE_ACOSL 1
192 # define acosl _acosl
195 #if defined (HAVE__ASINF) && ! defined (HAVE_ASINF)
196 # define HAVE_ASINF 1
197 # define asinf _asinf
200 #if defined (HAVE__ASINL) && ! defined (HAVE_ASINL)
201 # define HAVE_ASINL 1
202 # define asinl _asinl
205 #if defined (HAVE__ATANF) && ! defined (HAVE_ATANF)
206 # define HAVE_ATANF 1
207 # define atanf _atanf
210 #if defined (HAVE__ATANL) && ! defined (HAVE_ATANL)
211 # define HAVE_ATANL 1
212 # define atanl _atanl
215 #if defined (HAVE__CEILF) && ! defined (HAVE_CEILF)
216 # define HAVE_CEILF 1
217 # define aceil _ceilf
220 #if defined (HAVE__CEILL) && ! defined (HAVE_CEILL)
221 # define HAVE_CEILL 1
222 # define aceil _ceill
225 #if defined (HAVE__COSHF) && ! defined (HAVE_COSHF)
226 # define HAVE_COSHF 1
227 # define coshf _coshf
230 #if defined (HAVE__COSL) && ! defined (HAVE_COSL)
235 #if defined (HAVE__LOGF) && ! defined (HAVE_LOGF)
240 #if defined (HAVE__COSHL) && ! defined (HAVE_COSHL)
241 # define HAVE_COSHL 1
242 # define coshl _coshl
245 #if defined (HAVE__EXPF) && ! defined (HAVE_EXPF)
250 #if defined (HAVE__EXPL) && ! defined (HAVE_EXPL)
255 #if defined (HAVE__FABSF) && ! defined (HAVE_FABSF)
256 # define HAVE_FABSF 1
257 # define fabsf _fabsf
260 #if defined (HAVE__FABSL) && ! defined (HAVE_FABSL)
261 # define HAVE_FABSL 1
262 # define fabsl _fabsl
265 #if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF)
266 # define HAVE_FLOORF 1
267 # define floorf _floorf
270 #if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL)
271 # define HAVE_FLOORL 1
272 # define floorl _floorl
275 #if defined (HAVE__FMODF) && ! defined (HAVE_FMODF)
276 # define HAVE_FMODF 1
277 # define fmodf _fmodf
280 #if defined (HAVE__FMODL) && ! defined (HAVE_FMODL)
281 # define HAVE_FMODL 1
282 # define fmodl _fmodl
285 #if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF)
286 # define HAVE_FREXPF 1
287 # define frexpf _frexpf
290 #if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL)
291 # define HAVE_FREXPL 1
292 # define frexpl _frexpl
295 #if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF)
296 # define HAVE_LDEXPF 1
297 # define ldexpf _ldexpf
300 #if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL)
301 # define HAVE_LDEXPL 1
302 # define ldexpl _ldexpl
305 #if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F)
306 # define HAVE_LOG10F 1
307 # define log10f _log10f
310 #if defined (HAVE__LOGL) && ! defined (HAVE_LOGL)
315 #if defined (HAVE__POWF) && ! defined (HAVE_POWF)
320 #if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L)
321 # define HAVE_LOG10L 1
322 # define log10l _log10l
325 #if defined (HAVE__MODF) && ! defined (HAVE_MODF)
330 #if defined (HAVE__MODL) && ! defined (HAVE_MODL)
335 #if defined (HAVE__SINF) && ! defined (HAVE_SINF)
340 #if defined (HAVE__POWL) && ! defined (HAVE_POWL)
345 #if defined (HAVE__SINHF) && ! defined (HAVE_SINHF)
346 # define HAVE_SINHF 1
347 # define sinhf _sinhf
350 #if defined (HAVE__SINL) && ! defined (HAVE_SINL)
355 #if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF)
356 # define HAVE_SQRTF 1
357 # define sqrtf _sqrtf
360 #if defined (HAVE__SINHL) && ! defined (HAVE_SINHL)
361 # define HAVE_SINHL 1
362 # define sinhl _sinhl
365 #if defined (HAVE__TANF) && ! defined (HAVE_TANF)
370 #if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL)
371 # define HAVE_SQRTL 1
372 # define sqrtl _sqrtl
375 #if defined (HAVE__TANHF) && ! defined (HAVE_TANHF)
376 # define HAVE_TANHF 1
377 # define tanhf _tanhf
380 #if defined (HAVE__TANL) && ! defined (HAVE_TANL)
385 #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)
386 # define HAVE_STRTOF 1
387 # define strtof _strtof
390 #if defined (HAVE__TANHL) && ! defined (HAVE_TANHL)
391 # define HAVE_TANHL 1
392 # define tanhl _tanhl
395 #if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD)
396 # define HAVE_STRTOLD 1
397 # define strtold _strtold
400 #if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS)
401 # define HAVE_SINCOS 1
402 # define sincos _sincos
405 #if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF)
406 # define HAVE_SINCOSF 1
407 # define sincosf _sincosf
410 #if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL)
411 # define HAVE_SINCOSL 1
412 # define sincosl _sincosl
415 #if defined (HAVE__FINITE) && ! defined (HAVE_FINITE)
416 # define HAVE_FINITE 1
417 # define finite _finite
420 #if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF)
421 # define HAVE_FINITEF 1
422 # define finitef _finitef
425 #if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL)
426 # define HAVE_FINITEL 1
427 # define finitel _finitel
430 #if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE)
431 # define HAVE_QFINITE 1
432 # define qfinite _qfinite
435 #if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS)
436 # define HAVE_FPCLASS 1
437 # define fpclass _fpclass
440 #if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS)
441 # define HAVE_QFPCLASS 1
442 # define qfpclass _qfpclass