summaryrefslogtreecommitdiff
path: root/contrib/libstdc++/acconfig.h
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-12-04 16:53:59 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-12-04 16:53:59 +0000
commit8f1134fbb356143214dbc55aa535f21d97a9c5d5 (patch)
tree23d47b19d8ecbb91f1615f358dbb41e09e05fc12 /contrib/libstdc++/acconfig.h
parent45fc31f8dde65cd5b7930b1047a99745f440e9f3 (diff)
Notes
Diffstat (limited to 'contrib/libstdc++/acconfig.h')
-rw-r--r--contrib/libstdc++/acconfig.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/libstdc++/acconfig.h b/contrib/libstdc++/acconfig.h
index aa0dd99cfa9e..777e94a5039a 100644
--- a/contrib/libstdc++/acconfig.h
+++ b/contrib/libstdc++/acconfig.h
@@ -46,6 +46,20 @@
// Define if you have the copysignf function.
#undef _GLIBCPP_HAVE_COPYSIGNF
+// 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