2016-10-22 François Dumont <fdumont@gcc.gnu.org>
[official-gcc.git] / libstdc++-v3 / include / bits / c++config
blob6d3226fcd573bed0d49dbec9d3a4b869a6e3fd90
1 // Predefined symbols and macros -*- C++ -*-
3 // Copyright (C) 1997-2016 Free Software Foundation, Inc.
4 //
5 // This file is part of the GNU ISO C++ Library.  This library is free
6 // software; you can redistribute it and/or modify it under the
7 // terms of the GNU General Public License as published by the
8 // Free Software Foundation; either version 3, or (at your option)
9 // any later version.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 // GNU General Public License for more details.
16 // Under Section 7 of GPL version 3, you are granted additional
17 // permissions described in the GCC Runtime Library Exception, version
18 // 3.1, as published by the Free Software Foundation.
20 // You should have received a copy of the GNU General Public License and
21 // a copy of the GCC Runtime Library Exception along with this program;
22 // see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
23 // <http://www.gnu.org/licenses/>.
25 /** @file bits/c++config.h
26  *  This is an internal header file, included by other library headers.
27  *  Do not attempt to use it directly. @headername{iosfwd}
28  */
30 #ifndef _GLIBCXX_CXX_CONFIG_H
31 #define _GLIBCXX_CXX_CONFIG_H 1
33 // The current version of the C++ library in compressed ISO date format.
34 #define __GLIBCXX__
36 // Macros for various attributes.
37 //   _GLIBCXX_PURE
38 //   _GLIBCXX_CONST
39 //   _GLIBCXX_NORETURN
40 //   _GLIBCXX_NOTHROW
41 //   _GLIBCXX_VISIBILITY
42 #ifndef _GLIBCXX_PURE
43 # define _GLIBCXX_PURE __attribute__ ((__pure__))
44 #endif
46 #ifndef _GLIBCXX_CONST
47 # define _GLIBCXX_CONST __attribute__ ((__const__))
48 #endif
50 #ifndef _GLIBCXX_NORETURN
51 # define _GLIBCXX_NORETURN __attribute__ ((__noreturn__))
52 #endif
54 // See below for C++
55 #ifndef _GLIBCXX_NOTHROW
56 # ifndef __cplusplus
57 #  define _GLIBCXX_NOTHROW __attribute__((__nothrow__))
58 # endif
59 #endif
61 // Macros for visibility attributes.
62 //   _GLIBCXX_HAVE_ATTRIBUTE_VISIBILITY
63 //   _GLIBCXX_VISIBILITY
64 #define _GLIBCXX_HAVE_ATTRIBUTE_VISIBILITY
66 #if _GLIBCXX_HAVE_ATTRIBUTE_VISIBILITY
67 # define _GLIBCXX_VISIBILITY(V) __attribute__ ((__visibility__ (#V)))
68 #else
69 // If this is not supplied by the OS-specific or CPU-specific
70 // headers included below, it will be defined to an empty default.
71 # define _GLIBCXX_VISIBILITY(V) _GLIBCXX_PSEUDO_VISIBILITY(V)
72 #endif
74 // Macros for deprecated attributes.
75 //   _GLIBCXX_USE_DEPRECATED
76 //   _GLIBCXX_DEPRECATED
77 #ifndef _GLIBCXX_USE_DEPRECATED
78 # define _GLIBCXX_USE_DEPRECATED 1
79 #endif
81 #if defined(__DEPRECATED) && (__cplusplus >= 201103L)
82 # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__))
83 #else
84 # define _GLIBCXX_DEPRECATED
85 #endif
87 // Macros for ABI tag attributes.
88 #ifndef _GLIBCXX_ABI_TAG_CXX11
89 # define _GLIBCXX_ABI_TAG_CXX11 __attribute ((__abi_tag__ ("cxx11")))
90 #endif
93 #if __cplusplus
95 // Macro for constexpr, to support in mixed 03/0x mode.
96 #ifndef _GLIBCXX_CONSTEXPR
97 # if __cplusplus >= 201103L
98 #  define _GLIBCXX_CONSTEXPR constexpr
99 #  define _GLIBCXX_USE_CONSTEXPR constexpr
100 # else
101 #  define _GLIBCXX_CONSTEXPR
102 #  define _GLIBCXX_USE_CONSTEXPR const
103 # endif
104 #endif
106 #ifndef _GLIBCXX14_CONSTEXPR
107 # if __cplusplus >= 201402L
108 #  define _GLIBCXX14_CONSTEXPR constexpr
109 # else
110 #  define _GLIBCXX14_CONSTEXPR
111 # endif
112 #endif
114 #ifndef _GLIBCXX17_CONSTEXPR
115 # if __cplusplus > 201402L
116 #  define _GLIBCXX17_CONSTEXPR constexpr
117 # else
118 #  define _GLIBCXX17_CONSTEXPR
119 # endif
120 #endif
122 // Macro for noexcept, to support in mixed 03/0x mode.
123 #ifndef _GLIBCXX_NOEXCEPT
124 # if __cplusplus >= 201103L
125 #  define _GLIBCXX_NOEXCEPT noexcept
126 #  define _GLIBCXX_NOEXCEPT_IF(_COND) noexcept(_COND)
127 #  define _GLIBCXX_USE_NOEXCEPT noexcept
128 #  define _GLIBCXX_THROW(_EXC)
129 # else
130 #  define _GLIBCXX_NOEXCEPT
131 #  define _GLIBCXX_NOEXCEPT_IF(_COND)
132 #  define _GLIBCXX_USE_NOEXCEPT throw()
133 #  define _GLIBCXX_THROW(_EXC) throw(_EXC)
134 # endif
135 #endif
137 #ifndef _GLIBCXX_NOTHROW
138 # define _GLIBCXX_NOTHROW _GLIBCXX_USE_NOEXCEPT
139 #endif
141 #ifndef _GLIBCXX_THROW_OR_ABORT
142 # if __cpp_exceptions
143 #  define _GLIBCXX_THROW_OR_ABORT(_EXC) (throw (_EXC))
144 # else
145 #  define _GLIBCXX_THROW_OR_ABORT(_EXC) (__builtin_abort())
146 # endif
147 #endif
149 // Macro for extern template, ie controlling template linkage via use
150 // of extern keyword on template declaration. As documented in the g++
151 // manual, it inhibits all implicit instantiations and is used
152 // throughout the library to avoid multiple weak definitions for
153 // required types that are already explicitly instantiated in the
154 // library binary. This substantially reduces the binary size of
155 // resulting executables.
156 // Special case: _GLIBCXX_EXTERN_TEMPLATE == -1 disallows extern
157 // templates only in basic_string, thus activating its debug-mode
158 // checks even at -O0.
159 #define _GLIBCXX_EXTERN_TEMPLATE
162   Outline of libstdc++ namespaces.
164   namespace std
165   {
166     namespace __debug { }
167     namespace __parallel { }
168     namespace __profile { }
169     namespace __cxx1998 { }
171     namespace __detail { }
173     namespace rel_ops { }
175     namespace tr1
176     {
177       namespace placeholders { }
178       namespace regex_constants { }
179       namespace __detail { }
180     }
182     namespace tr2 { }
183     
184     namespace decimal { }
186     namespace chrono { }
187     namespace placeholders { }
188     namespace regex_constants { }
189     namespace this_thread { }
190     inline namespace literals {
191       inline namespace chrono_literals { }
192       inline namespace complex_literals { }
193       inline namespace string_literals { }
194     }
195   }
197   namespace abi { }
199   namespace __gnu_cxx
200   {
201     namespace __detail { }
202   }
204   For full details see:
205   http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespaces.html
207 namespace std
209   typedef __SIZE_TYPE__         size_t;
210   typedef __PTRDIFF_TYPE__      ptrdiff_t;
212 #if __cplusplus >= 201103L
213   typedef decltype(nullptr)     nullptr_t;
214 #endif
217 #define _GLIBCXX_USE_DUAL_ABI
219 #if ! _GLIBCXX_USE_DUAL_ABI
220 // Ignore any pre-defined value of _GLIBCXX_USE_CXX11_ABI
221 # undef _GLIBCXX_USE_CXX11_ABI
222 #endif
224 #ifndef _GLIBCXX_USE_CXX11_ABI
225 #define _GLIBCXX_USE_CXX11_ABI
226 #endif
228 #if _GLIBCXX_USE_CXX11_ABI
229 namespace std
231   inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { }
233 namespace __gnu_cxx
235   inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { }
237 # define _GLIBCXX_NAMESPACE_CXX11 __cxx11::
238 # define _GLIBCXX_BEGIN_NAMESPACE_CXX11 namespace __cxx11 {
239 # define _GLIBCXX_END_NAMESPACE_CXX11 }
240 # define _GLIBCXX_DEFAULT_ABI_TAG _GLIBCXX_ABI_TAG_CXX11
241 #else
242 # define _GLIBCXX_NAMESPACE_CXX11
243 # define _GLIBCXX_BEGIN_NAMESPACE_CXX11
244 # define _GLIBCXX_END_NAMESPACE_CXX11
245 # define _GLIBCXX_DEFAULT_ABI_TAG
246 #endif
249 // Defined if inline namespaces are used for versioning.
250 #define _GLIBCXX_INLINE_VERSION 
252 // Inline namespace for symbol versioning.
253 #if _GLIBCXX_INLINE_VERSION
255 namespace std
257   inline namespace __7 { }
259   namespace rel_ops { inline namespace __7 { } }
261   namespace tr1
262   {
263     inline namespace __7 { }
264     namespace placeholders { inline namespace __7 { } }
265     namespace regex_constants { inline namespace __7 { } }
266     namespace __detail { inline namespace __7 { } }
267   }
269   namespace tr2
270   { inline namespace __7 { } }
272   namespace decimal { inline namespace __7 { } }
274   namespace chrono { inline namespace __7 { } }
275   namespace placeholders { inline namespace __7 { } }
276   namespace regex_constants { inline namespace __7 { } }
277   namespace this_thread { inline namespace __7 { } }
279   inline namespace literals {
280     inline namespace chrono_literals { inline namespace __7 { } }
281     inline namespace complex_literals { inline namespace __7 { } }
282     inline namespace string_literals { inline namespace __7 { } }
283   }
285   namespace __detail {
286     inline namespace __7 { }
287     namespace __variant { inline namespace __7 { } }
288   }
291 namespace __gnu_cxx
293   inline namespace __7 { }
294   namespace __detail { inline namespace __7 { } }
296 # define _GLIBCXX_BEGIN_NAMESPACE_VERSION namespace __7 {
297 # define _GLIBCXX_END_NAMESPACE_VERSION }
298 #else
299 # define _GLIBCXX_BEGIN_NAMESPACE_VERSION
300 # define _GLIBCXX_END_NAMESPACE_VERSION
301 #endif
304 // Inline namespaces for special modes: debug, parallel, profile.
305 #if defined(_GLIBCXX_DEBUG) || defined(_GLIBCXX_PARALLEL) \
306     || defined(_GLIBCXX_PROFILE)
307 namespace std
309   // Non-inline namespace for components replaced by alternates in active mode.
310   namespace __cxx1998
311   {
312 # if _GLIBCXX_INLINE_VERSION
313   inline namespace __7 { }
314 # endif
316 # if _GLIBCXX_USE_CXX11_ABI
317   inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { }
318 # endif
319   }
321   // Inline namespace for debug mode.
322 # ifdef _GLIBCXX_DEBUG
323   inline namespace __debug { }
324 # endif
326   // Inline namespaces for parallel mode.
327 # ifdef _GLIBCXX_PARALLEL
328   inline namespace __parallel { }
329 # endif
331   // Inline namespaces for profile mode
332 # ifdef _GLIBCXX_PROFILE
333   inline namespace __profile { }
334 # endif
337 // Check for invalid usage and unsupported mixed-mode use.
338 # if defined(_GLIBCXX_DEBUG) && defined(_GLIBCXX_PARALLEL)
339 #  error illegal use of multiple inlined namespaces
340 # endif
341 # if defined(_GLIBCXX_PROFILE) && defined(_GLIBCXX_DEBUG)
342 #  error illegal use of multiple inlined namespaces
343 # endif
344 # if defined(_GLIBCXX_PROFILE) && defined(_GLIBCXX_PARALLEL)
345 #  error illegal use of multiple inlined namespaces
346 # endif
348 // Check for invalid use due to lack for weak symbols.
349 # if __NO_INLINE__ && !__GXX_WEAK__
350 #  warning currently using inlined namespace mode which may fail \
351    without inlining due to lack of weak symbols
352 # endif
353 #endif
355 // Macros for namespace scope. Either namespace std:: or the name
356 // of some nested namespace within it corresponding to the active mode.
357 // _GLIBCXX_STD_A
358 // _GLIBCXX_STD_C
360 // Macros for opening/closing conditional namespaces.
361 // _GLIBCXX_BEGIN_NAMESPACE_ALGO
362 // _GLIBCXX_END_NAMESPACE_ALGO
363 // _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
364 // _GLIBCXX_END_NAMESPACE_CONTAINER
365 #if defined(_GLIBCXX_DEBUG) || defined(_GLIBCXX_PROFILE)
366 # define _GLIBCXX_STD_C __cxx1998
367 # define _GLIBCXX_BEGIN_NAMESPACE_CONTAINER \
368          namespace _GLIBCXX_STD_C { _GLIBCXX_BEGIN_NAMESPACE_VERSION
369 # define _GLIBCXX_END_NAMESPACE_CONTAINER \
370          _GLIBCXX_END_NAMESPACE_VERSION }
371 #else
372 # define _GLIBCXX_STD_C std
373 # define _GLIBCXX_BEGIN_NAMESPACE_CONTAINER _GLIBCXX_BEGIN_NAMESPACE_VERSION
374 # define _GLIBCXX_END_NAMESPACE_CONTAINER _GLIBCXX_END_NAMESPACE_VERSION
375 #endif
377 #ifdef _GLIBCXX_PARALLEL
378 # define _GLIBCXX_STD_A __cxx1998
379 # define _GLIBCXX_BEGIN_NAMESPACE_ALGO \
380          namespace _GLIBCXX_STD_A { _GLIBCXX_BEGIN_NAMESPACE_VERSION
381 # define _GLIBCXX_END_NAMESPACE_ALGO \
382          _GLIBCXX_END_NAMESPACE_VERSION }
383 #else
384 # define _GLIBCXX_STD_A std
385 # define _GLIBCXX_BEGIN_NAMESPACE_ALGO _GLIBCXX_BEGIN_NAMESPACE_VERSION
386 # define _GLIBCXX_END_NAMESPACE_ALGO _GLIBCXX_END_NAMESPACE_VERSION
387 #endif
389 // GLIBCXX_ABI Deprecated
390 // Define if compatibility should be provided for -mlong-double-64.
391 #undef _GLIBCXX_LONG_DOUBLE_COMPAT
393 // Inline namespace for long double 128 mode.
394 #if defined _GLIBCXX_LONG_DOUBLE_COMPAT && defined __LONG_DOUBLE_128__
395 namespace std
397   inline namespace __gnu_cxx_ldbl128 { }
399 # define _GLIBCXX_NAMESPACE_LDBL __gnu_cxx_ldbl128::
400 # define _GLIBCXX_BEGIN_NAMESPACE_LDBL namespace __gnu_cxx_ldbl128 {
401 # define _GLIBCXX_END_NAMESPACE_LDBL }
402 #else
403 # define _GLIBCXX_NAMESPACE_LDBL
404 # define _GLIBCXX_BEGIN_NAMESPACE_LDBL
405 # define _GLIBCXX_END_NAMESPACE_LDBL
406 #endif
407 #if _GLIBCXX_USE_CXX11_ABI
408 # define _GLIBCXX_NAMESPACE_LDBL_OR_CXX11 _GLIBCXX_NAMESPACE_CXX11
409 # define _GLIBCXX_BEGIN_NAMESPACE_LDBL_OR_CXX11 _GLIBCXX_BEGIN_NAMESPACE_CXX11
410 # define _GLIBCXX_END_NAMESPACE_LDBL_OR_CXX11 _GLIBCXX_END_NAMESPACE_CXX11
411 #else
412 # define _GLIBCXX_NAMESPACE_LDBL_OR_CXX11 _GLIBCXX_NAMESPACE_LDBL
413 # define _GLIBCXX_BEGIN_NAMESPACE_LDBL_OR_CXX11 _GLIBCXX_BEGIN_NAMESPACE_LDBL
414 # define _GLIBCXX_END_NAMESPACE_LDBL_OR_CXX11 _GLIBCXX_END_NAMESPACE_LDBL
415 #endif
417 // Debug Mode implies checking assertions.
418 #ifdef _GLIBCXX_DEBUG
419 # define _GLIBCXX_ASSERTIONS 1
420 #endif
422 // Disable std::string explicit instantiation declarations in order to assert.
423 #ifdef _GLIBCXX_ASSERTIONS
424 # undef _GLIBCXX_EXTERN_TEMPLATE
425 # define _GLIBCXX_EXTERN_TEMPLATE -1
426 #endif
428 // Assert.
429 #if !defined(_GLIBCXX_ASSERTIONS) && !defined(_GLIBCXX_PARALLEL)
430 # define __glibcxx_assert(_Condition)
431 #else
432 namespace std
434   // Avoid the use of assert, because we're trying to keep the <cassert>
435   // include out of the mix.
436   inline void
437   __replacement_assert(const char* __file, int __line,
438                        const char* __function, const char* __condition)
439   {
440     __builtin_printf("%s:%d: %s: Assertion '%s' failed.\n", __file, __line,
441                      __function, __condition);
442     __builtin_abort();
443   }
445 #define __glibcxx_assert(_Condition)                                     \
446   do                                                                     \
447   {                                                                      \
448     if (! (_Condition))                                                  \
449       std::__replacement_assert(__FILE__, __LINE__, __PRETTY_FUNCTION__, \
450                                 #_Condition);                            \
451   } while (false)
452 #endif
454 // Macros for race detectors.
455 // _GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE(A) and
456 // _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER(A) should be used to explain
457 // atomic (lock-free) synchronization to race detectors:
458 // the race detector will infer a happens-before arc from the former to the
459 // latter when they share the same argument pointer.
461 // The most frequent use case for these macros (and the only case in the
462 // current implementation of the library) is atomic reference counting:
463 //   void _M_remove_reference()
464 //   {
465 //     _GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE(&this->_M_refcount);
466 //     if (__gnu_cxx::__exchange_and_add_dispatch(&this->_M_refcount, -1) <= 0)
467 //       {
468 //         _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER(&this->_M_refcount);
469 //         _M_destroy(__a);
470 //       }
471 //   }
472 // The annotations in this example tell the race detector that all memory
473 // accesses occurred when the refcount was positive do not race with
474 // memory accesses which occurred after the refcount became zero.
475 #ifndef _GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE
476 # define  _GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE(A)
477 #endif
478 #ifndef _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER
479 # define  _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER(A)
480 #endif
482 // Macros for C linkage: define extern "C" linkage only when using C++.
483 # define _GLIBCXX_BEGIN_EXTERN_C extern "C" {
484 # define _GLIBCXX_END_EXTERN_C }
486 #define _GLIBCXX_USE_ALLOCATOR_NEW
488 #else // !__cplusplus
489 # define _GLIBCXX_BEGIN_EXTERN_C
490 # define _GLIBCXX_END_EXTERN_C
491 #endif
494 // First includes.
496 // Pick up any OS-specific definitions.
497 #include <bits/os_defines.h>
499 // Pick up any CPU-specific definitions.
500 #include <bits/cpu_defines.h>
502 // If platform uses neither visibility nor psuedo-visibility,
503 // specify empty default for namespace annotation macros.
504 #ifndef _GLIBCXX_PSEUDO_VISIBILITY
505 # define _GLIBCXX_PSEUDO_VISIBILITY(V)
506 #endif
508 // Certain function definitions that are meant to be overridable from
509 // user code are decorated with this macro.  For some targets, this
510 // macro causes these definitions to be weak.
511 #ifndef _GLIBCXX_WEAK_DEFINITION
512 # define _GLIBCXX_WEAK_DEFINITION
513 #endif
515 // By default, we assume that __GXX_WEAK__ also means that there is support
516 // for declaring functions as weak while not defining such functions.  This
517 // allows for referring to functions provided by other libraries (e.g.,
518 // libitm) without depending on them if the respective features are not used.
519 #ifndef _GLIBCXX_USE_WEAK_REF
520 # define _GLIBCXX_USE_WEAK_REF __GXX_WEAK__
521 #endif
523 // Conditionally enable annotations for the Transactional Memory TS on C++11.
524 // Most of the following conditions are due to limitations in the current
525 // implementation.
526 #if __cplusplus >= 201103L && _GLIBCXX_USE_CXX11_ABI                    \
527   && _GLIBCXX_USE_DUAL_ABI && __cpp_transactional_memory >= 201505L     \
528   &&  !_GLIBCXX_FULLY_DYNAMIC_STRING && _GLIBCXX_USE_WEAK_REF           \
529   && _GLIBCXX_USE_ALLOCATOR_NEW
530 #define _GLIBCXX_TXN_SAFE transaction_safe
531 #define _GLIBCXX_TXN_SAFE_DYN transaction_safe_dynamic
532 #else
533 #define _GLIBCXX_TXN_SAFE
534 #define _GLIBCXX_TXN_SAFE_DYN
535 #endif
537 #if __cplusplus > 201402L
538 // In C++17 mathematical special functions are in namespace std.
539 # define _GLIBCXX_USE_STD_SPEC_FUNCS 1
540 #elif __cplusplus >= 201103L && __STDCPP_WANT_MATH_SPEC_FUNCS__ != 0
541 // For C++11 and C++14 they are in namespace std when requested.
542 # define _GLIBCXX_USE_STD_SPEC_FUNCS 1
543 #endif
545 // The remainder of the prewritten config is automatic; all the
546 // user hooks are listed above.
548 // Create a boolean flag to be used to determine if --fast-math is set.
549 #ifdef __FAST_MATH__
550 # define _GLIBCXX_FAST_MATH 1
551 #else
552 # define _GLIBCXX_FAST_MATH 0
553 #endif
555 // This marks string literals in header files to be extracted for eventual
556 // translation.  It is primarily used for messages in thrown exceptions; see
557 // src/functexcept.cc.  We use __N because the more traditional _N is used
558 // for something else under certain OSes (see BADNAMES).
559 #define __N(msgid)     (msgid)
561 // For example, <windows.h> is known to #define min and max as macros...
562 #undef min
563 #undef max
565 // N.B. these _GLIBCXX_USE_C99_XXX macros are defined unconditionally
566 // so they should be tested with #if not with #ifdef.
567 #if __cplusplus >= 201103L
568 # ifndef _GLIBCXX_USE_C99_MATH
569 #  define _GLIBCXX_USE_C99_MATH _GLIBCXX11_USE_C99_MATH
570 # endif
571 # ifndef _GLIBCXX_USE_C99_COMPLEX
572 # define _GLIBCXX_USE_C99_COMPLEX _GLIBCXX11_USE_C99_COMPLEX
573 # endif
574 # ifndef _GLIBCXX_USE_C99_STDIO
575 # define _GLIBCXX_USE_C99_STDIO _GLIBCXX11_USE_C99_STDIO
576 # endif
577 # ifndef _GLIBCXX_USE_C99_STDLIB
578 # define _GLIBCXX_USE_C99_STDLIB _GLIBCXX11_USE_C99_STDLIB
579 # endif
580 # ifndef _GLIBCXX_USE_C99_WCHAR
581 # define _GLIBCXX_USE_C99_WCHAR _GLIBCXX11_USE_C99_WCHAR
582 # endif
583 #else
584 # ifndef _GLIBCXX_USE_C99_MATH
585 #  define _GLIBCXX_USE_C99_MATH _GLIBCXX98_USE_C99_MATH
586 # endif
587 # ifndef _GLIBCXX_USE_C99_COMPLEX
588 # define _GLIBCXX_USE_C99_COMPLEX _GLIBCXX98_USE_C99_COMPLEX
589 # endif
590 # ifndef _GLIBCXX_USE_C99_STDIO
591 # define _GLIBCXX_USE_C99_STDIO _GLIBCXX98_USE_C99_STDIO
592 # endif
593 # ifndef _GLIBCXX_USE_C99_STDLIB
594 # define _GLIBCXX_USE_C99_STDLIB _GLIBCXX98_USE_C99_STDLIB
595 # endif
596 # ifndef _GLIBCXX_USE_C99_WCHAR
597 # define _GLIBCXX_USE_C99_WCHAR _GLIBCXX98_USE_C99_WCHAR
598 # endif
599 #endif
601 // End of prewritten config; the settings discovered at configure time follow.