about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--wcsmbs/wmemcmp.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2771cd39cc..d6760b9e13 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
 
+	* wcsmbs/wmemcmp.c (WMEMCMP): Define.
+
 	* configure.in: Also look in $cxxmachine/include for C++ system
 	headers.
 
diff --git a/wcsmbs/wmemcmp.c b/wcsmbs/wmemcmp.c
index e7edc87164..73c6394f8e 100644
--- a/wcsmbs/wmemcmp.c
+++ b/wcsmbs/wmemcmp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997i, 2011 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1996.
 
@@ -20,7 +20,7 @@
 #include <wchar.h>
 
 #ifndef WMEMCMP
-# define wmemcmp
+# define WMEMCMP wmemcmp
 #endif
 
 int