summaryrefslogtreecommitdiffstats
path: root/gnu/lib
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2005-09-16 20:56:17 +0000
committerkan <kan@FreeBSD.org>2005-09-16 20:56:17 +0000
commitdafff159c45a7780a4baa3f58d463fb44de6ccc4 (patch)
tree46d895e4d8551d1b788bb2cd56d4f1cdc1a5307a /gnu/lib
parent800ef1986bc2fd194b35a1b5b15cc149c9f70551 (diff)
downloadFreeBSD-src-dafff159c45a7780a4baa3f58d463fb44de6ccc4.zip
FreeBSD-src-dafff159c45a7780a4baa3f58d463fb44de6ccc4.tar.gz
Do not expose vfwscanf, vswscanf, vwscanf and wcstof functions if
they are not visible from wchar.h.
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/libstdc++/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/lib/libstdc++/config.h b/gnu/lib/libstdc++/config.h
index 08183d3..1c183b7 100644
--- a/gnu/lib/libstdc++/config.h
+++ b/gnu/lib/libstdc++/config.h
@@ -551,20 +551,26 @@
/* Define to 1 if you have the `vfwprintf' function. */
#define HAVE_VFWPRINTF 1
+#if __ISO_C_VISIBLE >= 1999
/* Define to 1 if you have the `vfwscanf' function. */
#define HAVE_VFWSCANF 1
+#endif
/* Define to 1 if you have the `vswprintf' function. */
#define HAVE_VSWPRINTF 1
+#if __ISO_C_VISIBLE >= 1999
/* Define to 1 if you have the `vswscanf' function. */
#define HAVE_VSWSCANF 1
+#endif
/* Define to 1 if you have the `vwprintf' function. */
#define HAVE_VWPRINTF 1
+#if __ISO_C_VISIBLE >= 1999
/* Define to 1 if you have the `vwscanf' function. */
#define HAVE_VWSCANF 1
+#endif
/* Define to 1 if you have the <wchar.h> header file. */
#define HAVE_WCHAR_H 1
@@ -623,8 +629,10 @@
/* Define to 1 if you have the `wcstod' function. */
#define HAVE_WCSTOD 1
+#if __ISO_C_VISIBLE >= 1999
/* Define to 1 if you have the `wcstof' function. */
#define HAVE_WCSTOF 1
+#endif
/* Define to 1 if you have the `wcstok' function. */
#define HAVE_WCSTOK 1
OpenPOWER on IntegriCloud