]> gcc.gnu.org Git - gcc.git/blob - libstdc++-v3/include/bits/c++config
Implement P0012R1, Make exception specifications part of the type system.
[gcc.git] / libstdc++-v3 / include / bits / c++config
1 // Predefined symbols and macros -*- C++ -*-
2
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.
10
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.
15
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.
19
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/>.
24
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 */
29
30 #ifndef _GLIBCXX_CXX_CONFIG_H
31 #define _GLIBCXX_CXX_CONFIG_H 1
32
33 // The current version of the C++ library in compressed ISO date format.
34 #define __GLIBCXX__
35
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
45
46 #ifndef _GLIBCXX_CONST
47 # define _GLIBCXX_CONST __attribute__ ((__const__))
48 #endif
49
50 #ifndef _GLIBCXX_NORETURN
51 # define _GLIBCXX_NORETURN __attribute__ ((__noreturn__))
52 #endif
53
54 // See below for C++
55 #ifndef _GLIBCXX_NOTHROW
56 # ifndef __cplusplus
57 # define _GLIBCXX_NOTHROW __attribute__((__nothrow__))
58 # endif
59 #endif
60
61 // Macros for visibility attributes.
62 // _GLIBCXX_HAVE_ATTRIBUTE_VISIBILITY
63 // _GLIBCXX_VISIBILITY
64 #define _GLIBCXX_HAVE_ATTRIBUTE_VISIBILITY
65
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
73
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
80
81 #if defined(__DEPRECATED) && (__cplusplus >= 201103L)
82 # define _GLIBCXX_DEPRECATED __attribute__ ((__deprecated__))
83 #else
84 # define _GLIBCXX_DEPRECATED
85 #endif
86
87 // Macros for ABI tag attributes.
88 #ifndef _GLIBCXX_ABI_TAG_CXX11
89 # define _GLIBCXX_ABI_TAG_CXX11 __attribute ((__abi_tag__ ("cxx11")))
90 #endif
91
92
93 #if __cplusplus
94
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
105
106 #ifndef _GLIBCXX14_CONSTEXPR
107 # if __cplusplus >= 201402L
108 # define _GLIBCXX14_CONSTEXPR constexpr
109 # else
110 # define _GLIBCXX14_CONSTEXPR
111 # endif
112 #endif
113
114 #ifndef _GLIBCXX17_CONSTEXPR
115 # if __cplusplus > 201402L
116 # define _GLIBCXX17_CONSTEXPR constexpr
117 # else
118 # define _GLIBCXX17_CONSTEXPR
119 # endif
120 #endif
121
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
136
137 #ifndef _GLIBCXX_NOTHROW
138 # define _GLIBCXX_NOTHROW _GLIBCXX_USE_NOEXCEPT
139 #endif
140
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
148
149 #if __cpp_noexcept_function_type
150 #define _GLIBCXX_NOEXCEPT_PARM , bool _N
151 #define _GLIBCXX_NOEXCEPT_QUAL noexcept (_N)
152 #else
153 #define _GLIBCXX_NOEXCEPT_PARM
154 #define _GLIBCXX_NOEXCEPT_QUAL
155 #endif
156
157 // Macro for extern template, ie controlling template linkage via use
158 // of extern keyword on template declaration. As documented in the g++
159 // manual, it inhibits all implicit instantiations and is used
160 // throughout the library to avoid multiple weak definitions for
161 // required types that are already explicitly instantiated in the
162 // library binary. This substantially reduces the binary size of
163 // resulting executables.
164 // Special case: _GLIBCXX_EXTERN_TEMPLATE == -1 disallows extern
165 // templates only in basic_string, thus activating its debug-mode
166 // checks even at -O0.
167 #define _GLIBCXX_EXTERN_TEMPLATE
168
169 /*
170 Outline of libstdc++ namespaces.
171
172 namespace std
173 {
174 namespace __debug { }
175 namespace __parallel { }
176 namespace __profile { }
177 namespace __cxx1998 { }
178
179 namespace __detail { }
180
181 namespace rel_ops { }
182
183 namespace tr1
184 {
185 namespace placeholders { }
186 namespace regex_constants { }
187 namespace __detail { }
188 }
189
190 namespace tr2 { }
191
192 namespace decimal { }
193
194 namespace chrono { }
195 namespace placeholders { }
196 namespace regex_constants { }
197 namespace this_thread { }
198 inline namespace literals {
199 inline namespace chrono_literals { }
200 inline namespace complex_literals { }
201 inline namespace string_literals { }
202 }
203 }
204
205 namespace abi { }
206
207 namespace __gnu_cxx
208 {
209 namespace __detail { }
210 }
211
212 For full details see:
213 http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespaces.html
214 */
215 namespace std
216 {
217 typedef __SIZE_TYPE__ size_t;
218 typedef __PTRDIFF_TYPE__ ptrdiff_t;
219
220 #if __cplusplus >= 201103L
221 typedef decltype(nullptr) nullptr_t;
222 #endif
223 }
224
225 #define _GLIBCXX_USE_DUAL_ABI
226
227 #if ! _GLIBCXX_USE_DUAL_ABI
228 // Ignore any pre-defined value of _GLIBCXX_USE_CXX11_ABI
229 # undef _GLIBCXX_USE_CXX11_ABI
230 #endif
231
232 #ifndef _GLIBCXX_USE_CXX11_ABI
233 #define _GLIBCXX_USE_CXX11_ABI
234 #endif
235
236 #if _GLIBCXX_USE_CXX11_ABI
237 namespace std
238 {
239 inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { }
240 }
241 namespace __gnu_cxx
242 {
243 inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { }
244 }
245 # define _GLIBCXX_NAMESPACE_CXX11 __cxx11::
246 # define _GLIBCXX_BEGIN_NAMESPACE_CXX11 namespace __cxx11 {
247 # define _GLIBCXX_END_NAMESPACE_CXX11 }
248 # define _GLIBCXX_DEFAULT_ABI_TAG _GLIBCXX_ABI_TAG_CXX11
249 #else
250 # define _GLIBCXX_NAMESPACE_CXX11
251 # define _GLIBCXX_BEGIN_NAMESPACE_CXX11
252 # define _GLIBCXX_END_NAMESPACE_CXX11
253 # define _GLIBCXX_DEFAULT_ABI_TAG
254 #endif
255
256
257 // Defined if inline namespaces are used for versioning.
258 #define _GLIBCXX_INLINE_VERSION
259
260 // Inline namespace for symbol versioning.
261 #if _GLIBCXX_INLINE_VERSION
262
263 namespace std
264 {
265 inline namespace __7 { }
266
267 namespace rel_ops { inline namespace __7 { } }
268
269 namespace tr1
270 {
271 inline namespace __7 { }
272 namespace placeholders { inline namespace __7 { } }
273 namespace regex_constants { inline namespace __7 { } }
274 namespace __detail { inline namespace __7 { } }
275 }
276
277 namespace tr2
278 { inline namespace __7 { } }
279
280 namespace decimal { inline namespace __7 { } }
281
282 namespace chrono { inline namespace __7 { } }
283 namespace placeholders { inline namespace __7 { } }
284 namespace regex_constants { inline namespace __7 { } }
285 namespace this_thread { inline namespace __7 { } }
286
287 inline namespace literals {
288 inline namespace chrono_literals { inline namespace __7 { } }
289 inline namespace complex_literals { inline namespace __7 { } }
290 inline namespace string_literals { inline namespace __7 { } }
291 }
292
293 namespace __detail {
294 inline namespace __7 { }
295 namespace __variant { inline namespace __7 { } }
296 }
297 }
298
299 namespace __gnu_cxx
300 {
301 inline namespace __7 { }
302 namespace __detail { inline namespace __7 { } }
303 }
304 # define _GLIBCXX_BEGIN_NAMESPACE_VERSION namespace __7 {
305 # define _GLIBCXX_END_NAMESPACE_VERSION }
306 #else
307 # define _GLIBCXX_BEGIN_NAMESPACE_VERSION
308 # define _GLIBCXX_END_NAMESPACE_VERSION
309 #endif
310
311
312 // Inline namespaces for special modes: debug, parallel, profile.
313 #if defined(_GLIBCXX_DEBUG) || defined(_GLIBCXX_PARALLEL) \
314 || defined(_GLIBCXX_PROFILE)
315 namespace std
316 {
317 // Non-inline namespace for components replaced by alternates in active mode.
318 namespace __cxx1998
319 {
320 # if _GLIBCXX_INLINE_VERSION
321 inline namespace __7 { }
322 # endif
323
324 # if _GLIBCXX_USE_CXX11_ABI
325 inline namespace __cxx11 __attribute__((__abi_tag__ ("cxx11"))) { }
326 # endif
327 }
328
329 // Inline namespace for debug mode.
330 # ifdef _GLIBCXX_DEBUG
331 inline namespace __debug { }
332 # endif
333
334 // Inline namespaces for parallel mode.
335 # ifdef _GLIBCXX_PARALLEL
336 inline namespace __parallel { }
337 # endif
338
339 // Inline namespaces for profile mode
340 # ifdef _GLIBCXX_PROFILE
341 inline namespace __profile { }
342 # endif
343 }
344
345 // Check for invalid usage and unsupported mixed-mode use.
346 # if defined(_GLIBCXX_DEBUG) && defined(_GLIBCXX_PARALLEL)
347 # error illegal use of multiple inlined namespaces
348 # endif
349 # if defined(_GLIBCXX_PROFILE) && defined(_GLIBCXX_DEBUG)
350 # error illegal use of multiple inlined namespaces
351 # endif
352 # if defined(_GLIBCXX_PROFILE) && defined(_GLIBCXX_PARALLEL)
353 # error illegal use of multiple inlined namespaces
354 # endif
355
356 // Check for invalid use due to lack for weak symbols.
357 # if __NO_INLINE__ && !__GXX_WEAK__
358 # warning currently using inlined namespace mode which may fail \
359 without inlining due to lack of weak symbols
360 # endif
361 #endif
362
363 // Macros for namespace scope. Either namespace std:: or the name
364 // of some nested namespace within it corresponding to the active mode.
365 // _GLIBCXX_STD_A
366 // _GLIBCXX_STD_C
367 //
368 // Macros for opening/closing conditional namespaces.
369 // _GLIBCXX_BEGIN_NAMESPACE_ALGO
370 // _GLIBCXX_END_NAMESPACE_ALGO
371 // _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
372 // _GLIBCXX_END_NAMESPACE_CONTAINER
373 #if defined(_GLIBCXX_DEBUG) || defined(_GLIBCXX_PROFILE)
374 # define _GLIBCXX_STD_C __cxx1998
375 # define _GLIBCXX_BEGIN_NAMESPACE_CONTAINER \
376 namespace _GLIBCXX_STD_C { _GLIBCXX_BEGIN_NAMESPACE_VERSION
377 # define _GLIBCXX_END_NAMESPACE_CONTAINER \
378 _GLIBCXX_END_NAMESPACE_VERSION }
379 #else
380 # define _GLIBCXX_STD_C std
381 # define _GLIBCXX_BEGIN_NAMESPACE_CONTAINER _GLIBCXX_BEGIN_NAMESPACE_VERSION
382 # define _GLIBCXX_END_NAMESPACE_CONTAINER _GLIBCXX_END_NAMESPACE_VERSION
383 #endif
384
385 #ifdef _GLIBCXX_PARALLEL
386 # define _GLIBCXX_STD_A __cxx1998
387 # define _GLIBCXX_BEGIN_NAMESPACE_ALGO \
388 namespace _GLIBCXX_STD_A { _GLIBCXX_BEGIN_NAMESPACE_VERSION
389 # define _GLIBCXX_END_NAMESPACE_ALGO \
390 _GLIBCXX_END_NAMESPACE_VERSION }
391 #else
392 # define _GLIBCXX_STD_A std
393 # define _GLIBCXX_BEGIN_NAMESPACE_ALGO _GLIBCXX_BEGIN_NAMESPACE_VERSION
394 # define _GLIBCXX_END_NAMESPACE_ALGO _GLIBCXX_END_NAMESPACE_VERSION
395 #endif
396
397 // GLIBCXX_ABI Deprecated
398 // Define if compatibility should be provided for -mlong-double-64.
399 #undef _GLIBCXX_LONG_DOUBLE_COMPAT
400
401 // Inline namespace for long double 128 mode.
402 #if defined _GLIBCXX_LONG_DOUBLE_COMPAT && defined __LONG_DOUBLE_128__
403 namespace std
404 {
405 inline namespace __gnu_cxx_ldbl128 { }
406 }
407 # define _GLIBCXX_NAMESPACE_LDBL __gnu_cxx_ldbl128::
408 # define _GLIBCXX_BEGIN_NAMESPACE_LDBL namespace __gnu_cxx_ldbl128 {
409 # define _GLIBCXX_END_NAMESPACE_LDBL }
410 #else
411 # define _GLIBCXX_NAMESPACE_LDBL
412 # define _GLIBCXX_BEGIN_NAMESPACE_LDBL
413 # define _GLIBCXX_END_NAMESPACE_LDBL
414 #endif
415 #if _GLIBCXX_USE_CXX11_ABI
416 # define _GLIBCXX_NAMESPACE_LDBL_OR_CXX11 _GLIBCXX_NAMESPACE_CXX11
417 # define _GLIBCXX_BEGIN_NAMESPACE_LDBL_OR_CXX11 _GLIBCXX_BEGIN_NAMESPACE_CXX11
418 # define _GLIBCXX_END_NAMESPACE_LDBL_OR_CXX11 _GLIBCXX_END_NAMESPACE_CXX11
419 #else
420 # define _GLIBCXX_NAMESPACE_LDBL_OR_CXX11 _GLIBCXX_NAMESPACE_LDBL
421 # define _GLIBCXX_BEGIN_NAMESPACE_LDBL_OR_CXX11 _GLIBCXX_BEGIN_NAMESPACE_LDBL
422 # define _GLIBCXX_END_NAMESPACE_LDBL_OR_CXX11 _GLIBCXX_END_NAMESPACE_LDBL
423 #endif
424
425 // Debug Mode implies checking assertions.
426 #ifdef _GLIBCXX_DEBUG
427 # define _GLIBCXX_ASSERTIONS 1
428 #endif
429
430 // Disable std::string explicit instantiation declarations in order to assert.
431 #ifdef _GLIBCXX_ASSERTIONS
432 # undef _GLIBCXX_EXTERN_TEMPLATE
433 # define _GLIBCXX_EXTERN_TEMPLATE -1
434 #endif
435
436 // Assert.
437 #if !defined(_GLIBCXX_ASSERTIONS) && !defined(_GLIBCXX_PARALLEL)
438 # define __glibcxx_assert(_Condition)
439 #else
440 namespace std
441 {
442 // Avoid the use of assert, because we're trying to keep the <cassert>
443 // include out of the mix.
444 inline void
445 __replacement_assert(const char* __file, int __line,
446 const char* __function, const char* __condition)
447 {
448 __builtin_printf("%s:%d: %s: Assertion '%s' failed.\n", __file, __line,
449 __function, __condition);
450 __builtin_abort();
451 }
452 }
453 #define __glibcxx_assert(_Condition) \
454 do \
455 { \
456 if (! (_Condition)) \
457 std::__replacement_assert(__FILE__, __LINE__, __PRETTY_FUNCTION__, \
458 #_Condition); \
459 } while (false)
460 #endif
461
462 // Macros for race detectors.
463 // _GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE(A) and
464 // _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER(A) should be used to explain
465 // atomic (lock-free) synchronization to race detectors:
466 // the race detector will infer a happens-before arc from the former to the
467 // latter when they share the same argument pointer.
468 //
469 // The most frequent use case for these macros (and the only case in the
470 // current implementation of the library) is atomic reference counting:
471 // void _M_remove_reference()
472 // {
473 // _GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE(&this->_M_refcount);
474 // if (__gnu_cxx::__exchange_and_add_dispatch(&this->_M_refcount, -1) <= 0)
475 // {
476 // _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER(&this->_M_refcount);
477 // _M_destroy(__a);
478 // }
479 // }
480 // The annotations in this example tell the race detector that all memory
481 // accesses occurred when the refcount was positive do not race with
482 // memory accesses which occurred after the refcount became zero.
483 #ifndef _GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE
484 # define _GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE(A)
485 #endif
486 #ifndef _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER
487 # define _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER(A)
488 #endif
489
490 // Macros for C linkage: define extern "C" linkage only when using C++.
491 # define _GLIBCXX_BEGIN_EXTERN_C extern "C" {
492 # define _GLIBCXX_END_EXTERN_C }
493
494 #define _GLIBCXX_USE_ALLOCATOR_NEW
495
496 #else // !__cplusplus
497 # define _GLIBCXX_BEGIN_EXTERN_C
498 # define _GLIBCXX_END_EXTERN_C
499 #endif
500
501
502 // First includes.
503
504 // Pick up any OS-specific definitions.
505 #include <bits/os_defines.h>
506
507 // Pick up any CPU-specific definitions.
508 #include <bits/cpu_defines.h>
509
510 // If platform uses neither visibility nor psuedo-visibility,
511 // specify empty default for namespace annotation macros.
512 #ifndef _GLIBCXX_PSEUDO_VISIBILITY
513 # define _GLIBCXX_PSEUDO_VISIBILITY(V)
514 #endif
515
516 // Certain function definitions that are meant to be overridable from
517 // user code are decorated with this macro. For some targets, this
518 // macro causes these definitions to be weak.
519 #ifndef _GLIBCXX_WEAK_DEFINITION
520 # define _GLIBCXX_WEAK_DEFINITION
521 #endif
522
523 // By default, we assume that __GXX_WEAK__ also means that there is support
524 // for declaring functions as weak while not defining such functions. This
525 // allows for referring to functions provided by other libraries (e.g.,
526 // libitm) without depending on them if the respective features are not used.
527 #ifndef _GLIBCXX_USE_WEAK_REF
528 # define _GLIBCXX_USE_WEAK_REF __GXX_WEAK__
529 #endif
530
531 // Conditionally enable annotations for the Transactional Memory TS on C++11.
532 // Most of the following conditions are due to limitations in the current
533 // implementation.
534 #if __cplusplus >= 201103L && _GLIBCXX_USE_CXX11_ABI \
535 && _GLIBCXX_USE_DUAL_ABI && __cpp_transactional_memory >= 201505L \
536 && !_GLIBCXX_FULLY_DYNAMIC_STRING && _GLIBCXX_USE_WEAK_REF \
537 && _GLIBCXX_USE_ALLOCATOR_NEW
538 #define _GLIBCXX_TXN_SAFE transaction_safe
539 #define _GLIBCXX_TXN_SAFE_DYN transaction_safe_dynamic
540 #else
541 #define _GLIBCXX_TXN_SAFE
542 #define _GLIBCXX_TXN_SAFE_DYN
543 #endif
544
545 #if __cplusplus > 201402L
546 // In C++17 mathematical special functions are in namespace std.
547 # define _GLIBCXX_USE_STD_SPEC_FUNCS 1
548 #elif __cplusplus >= 201103L && __STDCPP_WANT_MATH_SPEC_FUNCS__ != 0
549 // For C++11 and C++14 they are in namespace std when requested.
550 # define _GLIBCXX_USE_STD_SPEC_FUNCS 1
551 #endif
552
553 // The remainder of the prewritten config is automatic; all the
554 // user hooks are listed above.
555
556 // Create a boolean flag to be used to determine if --fast-math is set.
557 #ifdef __FAST_MATH__
558 # define _GLIBCXX_FAST_MATH 1
559 #else
560 # define _GLIBCXX_FAST_MATH 0
561 #endif
562
563 // This marks string literals in header files to be extracted for eventual
564 // translation. It is primarily used for messages in thrown exceptions; see
565 // src/functexcept.cc. We use __N because the more traditional _N is used
566 // for something else under certain OSes (see BADNAMES).
567 #define __N(msgid) (msgid)
568
569 // For example, <windows.h> is known to #define min and max as macros...
570 #undef min
571 #undef max
572
573 // N.B. these _GLIBCXX_USE_C99_XXX macros are defined unconditionally
574 // so they should be tested with #if not with #ifdef.
575 #if __cplusplus >= 201103L
576 # ifndef _GLIBCXX_USE_C99_MATH
577 # define _GLIBCXX_USE_C99_MATH _GLIBCXX11_USE_C99_MATH
578 # endif
579 # ifndef _GLIBCXX_USE_C99_COMPLEX
580 # define _GLIBCXX_USE_C99_COMPLEX _GLIBCXX11_USE_C99_COMPLEX
581 # endif
582 # ifndef _GLIBCXX_USE_C99_STDIO
583 # define _GLIBCXX_USE_C99_STDIO _GLIBCXX11_USE_C99_STDIO
584 # endif
585 # ifndef _GLIBCXX_USE_C99_STDLIB
586 # define _GLIBCXX_USE_C99_STDLIB _GLIBCXX11_USE_C99_STDLIB
587 # endif
588 # ifndef _GLIBCXX_USE_C99_WCHAR
589 # define _GLIBCXX_USE_C99_WCHAR _GLIBCXX11_USE_C99_WCHAR
590 # endif
591 #else
592 # ifndef _GLIBCXX_USE_C99_MATH
593 # define _GLIBCXX_USE_C99_MATH _GLIBCXX98_USE_C99_MATH
594 # endif
595 # ifndef _GLIBCXX_USE_C99_COMPLEX
596 # define _GLIBCXX_USE_C99_COMPLEX _GLIBCXX98_USE_C99_COMPLEX
597 # endif
598 # ifndef _GLIBCXX_USE_C99_STDIO
599 # define _GLIBCXX_USE_C99_STDIO _GLIBCXX98_USE_C99_STDIO
600 # endif
601 # ifndef _GLIBCXX_USE_C99_STDLIB
602 # define _GLIBCXX_USE_C99_STDLIB _GLIBCXX98_USE_C99_STDLIB
603 # endif
604 # ifndef _GLIBCXX_USE_C99_WCHAR
605 # define _GLIBCXX_USE_C99_WCHAR _GLIBCXX98_USE_C99_WCHAR
606 # endif
607 #endif
608
609 // End of prewritten config; the settings discovered at configure time follow.
This page took 0.067816 seconds and 5 git commands to generate.