diff options
author | Eric Christopher <echristo@redhat.com> | 2002-10-23 01:14:10 +0000 |
---|---|---|
committer | Eric Christopher <echristo@redhat.com> | 2002-10-23 01:14:10 +0000 |
commit | b411ca57218adfeeb42aa5cd612185a1ccdc57ef (patch) | |
tree | c9309bcba890469c1ee313f077041feb715fd817 /libstdc++-v3/config.h.in | |
parent | 0291f1f2ee11b6fceee0f3ea6b4b51b2bd10c22e (diff) |
Merge from basic-improvements-branch
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/mips-3_4-rewrite-branch@58434 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config.h.in')
-rw-r--r-- | libstdc++-v3/config.h.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in index a310bc8454d..c565a8ba006 100644 --- a/libstdc++-v3/config.h.in +++ b/libstdc++-v3/config.h.in @@ -24,6 +24,20 @@ // Define to use concept checking code from the boost libraries. #undef _GLIBCPP_CONCEPT_CHECKS +// Define to use symbol versioning in the shared library. +#undef _GLIBCPP_SYMVER + +// Define symbol versioning in assember directives. If symbol +// versioning is beigng used, and the assembler supports this kind of +// thing, then use it. +// NB: _GLIBCPP_AT_AT is a hack to work around quoting issues in m4. +#if _GLIBCPP_SYMVER + #define _GLIBCPP_ASM_SYMVER(cur, old, version) \ + asm (".symver " #cur "," #old _GLIBCPP_AT_AT #version); +#else + #define _GLIBCPP_ASM_SYMVER(cur, old, version) +#endif + // Define if mbstate_t exists in wchar.h. #undef HAVE_MBSTATE_T |