summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--locale/programs/xstrdup.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6914e16661..f268604ca6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-12-06  Ulrich Drepper  <drepper@cygnus.com>
+
+	* locale/programs/xstrdup.c: It's _LIBC, not __LIBC.
+
 1999-12-03  Andreas Jaeger  <aj@suse.de>
 
 	* nss/getXXbyYY.c: Include <resolv.h>
diff --git a/locale/programs/xstrdup.c b/locale/programs/xstrdup.c
index 3947dd19ce..6510f960ae 100644
--- a/locale/programs/xstrdup.c
+++ b/locale/programs/xstrdup.c
@@ -21,7 +21,7 @@
 # include <config.h>
 #endif
 
-#if defined STDC_HEADERS || defined HAVE_STRING_H || __LIBC
+#if defined STDC_HEADERS || defined HAVE_STRING_H || _LIBC
 # include <string.h>
 #else
 # include <strings.h>