From 059bf913b5b3c5553a3756b4d9794e2eb3ce4f25 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Thu, 26 Jun 2014 20:40:46 +0530 Subject: Fix Wundef warning for WIDE_CHAR_VERSION fnmatch.c defines WIDE_CHAR_VERSION as 1 for wide chars, but does not define it for the non-wide char bits. Define it and also undef it in fnmatch_loop.c like all other macros. --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 40b5f89972..c159faa45a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2014-06-26 Siddhesh Poyarekar + * posix/fnmatch.c: Define WIDE_CHAR_VERSION. + * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION. + (FCT): Check value of WIDE_CHAR_VERSION instead of checking if + it is defined. + * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA instead of whether it is defined. * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA. -- cgit 1.4.1