1 // acconfig.h symbols and macros for libstdc++ v3 -*- C++ -*-
3 // If using the namespace std, you need this. Eventually this should
4 // not be an option. In the meantime, and as things like std_ctype.h
5 // need to be hacked out, give people the option. If this is set to 1,
6 // CXXFLAGS should include -fhonor-std. If this is undefined, CXXFLAGS
7 // should include -fno-honor-std.
8 #undef _GLIBCPP_USE_NAMESPACES
10 // Include support for 'long long' and 'unsigned long long'.
11 #undef _GLIBCPP_USE_LONG_LONG
13 // Define if the host has a type mbstate_t defined in
14 // wchar.h, as required by 21.1.3.1. Some systems, namely
15 // hppa-hp-hpux10.20 do not meet this requirement, and must be worked
17 #undef _GLIBCPP_NEED_MBSTATE_T
19 // Define if WCHAR_MIN and WCHAR_MAX are in the <cwchar_t>
20 // header. Presently, this is needed so that solaris won't
21 // instantitate numeric_limits<wchar_t>
22 #undef _GLIBCPP_HAS_WCHAR_MIN_MAX
24 // Define if code specialized for wchar_t should be used.
25 #undef _GLIBCPP_USE_WCHAR_T
27 // Define if the compiler/host combination has __builtin_sinf defined.
28 #undef _GLIBCPP_HAS_BUILTIN_SINF
30 // Define if the compiler/host combination has __builtin_cosf defined.
31 #undef _GLIBCPP_HAS_BUILTIN_COSF
33 // Define if the compiler/host combination has __builtin_fabsf defined.
34 #undef _GLIBCPP_HAS_BUILTIN_FABSF
36 // Define if the compiler/host combination has __builtin_fabsf defined.
37 #undef _GLIBCPP_HAS_BUILTIN_SQRTF
39 // Define if GCC support for __complex__ float is buggy.
40 #undef _GLIBCPP_BUGGY_FLOAT_COMPLEX
42 // Define if GCC support for __complex__ is buggy.
43 #undef _GLIBCPP_BUGGY_COMPLEX
45 // Define if LC_MESSAGES is available in <locale.h>.
46 #undef HAVE_LC_MESSAGES
48 // Define if <float.h> exists.
51 // Define if modf is present in <math.h>
56 // Systems that have certain non-standard functions prefixed with an
57 // underscore, we'll handle those here. Must come after config.h.in.
60 #if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN)
65 #if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF)
66 # define HAVE_ISNANF 1
67 # define isnanf _isnanf
70 #if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL)
71 # define HAVE_ISNANL 1
72 # define isnanl _isnanl
75 #if defined (HAVE__ISINF) && ! defined (HAVE_ISINF)
80 #if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF)
81 # define HAVE_ISINFF 1
82 # define isinff _isinff
85 #if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL)
86 # define HAVE_ISINFL 1
87 # define isinfl _isinfl
90 #if defined (HAVE__COPYSIGN) && ! defined (HAVE_COPYSIGN)
91 # define HAVE_COPYSIGN 1
92 # define copysign _copysign
95 #if defined (HAVE__COPYSIGNL) && ! defined (HAVE_COPYSIGNL)
96 # define HAVE_COPYSIGNL 1
97 # define copysignl _copysignl
100 #if defined (HAVE__COSF) && ! defined (HAVE_COSF)
105 #if defined (HAVE__COSHF) && ! defined (HAVE_COSHF)
106 # define HAVE_COSHF 1
107 # define coshf _coshf
110 #if defined (HAVE__LOGF) && ! defined (HAVE_LOGF)
115 #if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F)
116 # define HAVE_LOG10F 1
117 # define log10f _log10f
120 #if defined (HAVE__POWF) && ! defined (HAVE_POWF)
125 #if defined (HAVE__SINF) && ! defined (HAVE_SINF)
130 #if defined (HAVE__SINHF) && ! defined (HAVE_SINHF)
131 # define HAVE_SINHF 1
132 # define sinhf _sinhf
135 #if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF)
136 # define HAVE_SQRTF 1
137 # define sqrtf _sqrtf
140 #if defined (HAVE__TANF) && ! defined (HAVE_TANF)
145 #if defined (HAVE__TANHF) && ! defined (HAVE_TANHF)
146 # define HAVE_TANHF 1
147 # define tanhf _tanhf
150 #if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF)
151 # define HAVE_STRTOF 1
152 # define strtof _strtof
155 #if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD)
156 # define HAVE_STRTOLD 1
157 # define strtold _strtold
160 #if defined (HAVE__FABSF) && ! defined (HAVE_FABSF)
161 # define HAVE_FABSF 1
162 # define fabsf _fabsf
165 #if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS)
166 # define HAVE_SINCOS 1
167 # define sincos _sincos
170 #if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF)
171 # define HAVE_SINCOSF 1
172 # define sincosf _sincosf
175 #if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL)
176 # define HAVE_SINCOSL 1
177 # define sincosl _sincosl
180 #if defined (HAVE__FINITE) && ! defined (HAVE_FINITE)
181 # define HAVE_FINITE 1
182 # define finite _finite
185 #if defined (HAVE__QFINITE) && ! defined (HAVE_QFINITE)
186 # define HAVE_QFINITE 1
187 # define qfinite _qfinite
190 #if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS)
191 # define HAVE_FPCLASS 1
192 # define fpclass _fpclass
195 #if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS)
196 # define HAVE_QFPCLASS 1
197 # define qfpclass _qfpclass