summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/config.h.in
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-12-04 16:53:59 +0000
committerobrien <obrien@FreeBSD.org>2002-12-04 16:53:59 +0000
commitee820e9f244fb13f3dd7773478f525ddcbeac501 (patch)
tree23d47b19d8ecbb91f1615f358dbb41e09e05fc12 /contrib/libstdc++/config.h.in
parent7a1080fa5c329ea8a9505e51ce151719955bcfa2 (diff)
downloadFreeBSD-src-ee820e9f244fb13f3dd7773478f525ddcbeac501.zip
FreeBSD-src-ee820e9f244fb13f3dd7773478f525ddcbeac501.tar.gz
Gcc 3.2.1 release virgin vendor import. (19-Nov-2002)
Diffstat (limited to 'contrib/libstdc++/config.h.in')
-rw-r--r--contrib/libstdc++/config.h.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/libstdc++/config.h.in b/contrib/libstdc++/config.h.in
index fcc2c3e..de9f397 100644
--- a/contrib/libstdc++/config.h.in
+++ b/contrib/libstdc++/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
OpenPOWER on IntegriCloud