about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--wcsmbs/wchar.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ac6a7d2085..e1acc35474 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-06-20  Ulrich Drepper  <drepper@cygnus.com>
+
+	* wcsmbs/wchar.h: Declare wcstof and wcstold for ISO C9x.
+
 1999-06-20  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
 	* libio/libio.h: Fix last patch.
diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h
index 4639cb2799..e0e28bd3c1 100644
--- a/wcsmbs/wchar.h
+++ b/wcsmbs/wchar.h
@@ -317,7 +317,7 @@ extern int wcswidth __P ((__const wchar_t *__s, size_t __n));
 extern double wcstod __P ((__const wchar_t *__restrict __nptr,
 			   wchar_t **__restrict __endptr));
 
-#ifdef __USE_GNU
+#ifdef __USE_ISOC9X
 /* Likewise for `float' and `long double' sizes of floating-point numbers.  */
 extern float wcstof __P ((__const wchar_t *__restrict __nptr,
 			  wchar_t **__restrict __endptr));