diff options
Diffstat (limited to 'libstdc++-v3/config.h.in')
-rw-r--r-- | libstdc++-v3/config.h.in | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in index 6a4871c7061..f8e5305feb5 100644 --- a/libstdc++-v3/config.h.in +++ b/libstdc++-v3/config.h.in @@ -1,6 +1,4 @@ /* config.h.in. Generated from configure.ac by autoheader. */ -// Symbols and macros for libstdc++ -*- C++ -*- - /* Define to 1 if you have the `acosf' function. */ #undef HAVE_ACOSF @@ -666,6 +664,19 @@ /* Define to use symbol versioning in the shared library. */ #undef _GLIBCXX_SYMVER +/* Define symbol versioning in assember directives. If symbol + versioning is being used, and the assembler supports this kind of + thing, then use it. + + NB: _GLIBCXX_AT_AT is a hack to work around quoting issues in m4. */ + +#if _GLIBCXX_SYMVER + #define _GLIBCXX_ASM_SYMVER(cur, old, version) \ + asm (".symver " #cur "," #old _GLIBCXX_AT_AT #version); +#else + #define _GLIBCXX_ASM_SYMVER(cur, old, version) +#endif + /* Define if C99 functions or macros from <wchar.h>, <math.h>, <complex.h>, <stdio.h>, and <stdlib.h> can be used or exposed. */ #undef _GLIBCXX_USE_C99 @@ -1023,14 +1034,3 @@ # define HAVE_TANL 1 # define tanl _tanl #endif -// -// Define symbol versioning in assember directives. If symbol -// versioning is beigng used, and the assembler supports this kind of -// thing, then use it. -// NB: _GLIBCXX_AT_AT is a hack to work around quoting issues in m4. -#if _GLIBCXX_SYMVER - #define _GLIBCXX_ASM_SYMVER(cur, old, version) \ - asm (".symver " #cur "," #old _GLIBCXX_AT_AT #version); -#else - #define _GLIBCXX_ASM_SYMVER(cur, old, version) -#endif |