changeset 18656:e44e34c52420

Avoid -Wundef warning about undefined __USE_FILE_OFFSET64. * lib/glob-libc.h: Test if __USE_FILE_OFFSET64 is defined.
author Tim Rühsen <tim.ruehsen@gmx.de>
date Sat, 07 Jan 2017 18:10:48 +0100
parents c9e4105be915
children a38c936b06a0
files ChangeLog lib/glob-libc.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Jan 07 14:49:10 2017 +0100
+++ b/ChangeLog	Sat Jan 07 18:10:48 2017 +0100
@@ -1,3 +1,8 @@
+2017-01-07  Tim Rühsen  <tim.ruehsen@gmx.de>  (tiny change)
+
+	Avoid -Wundef warning about undefined __USE_FILE_OFFSET64.
+	* lib/glob-libc.h: Test if __USE_FILE_OFFSET64 is defined.
+
 2017-01-07  Bruno Haible  <bruno@clisp.org>
 
 	stdioext: Port to Minix 3.2 and newer.
--- a/lib/glob-libc.h	Sat Jan 07 14:49:10 2017 +0100
+++ b/lib/glob-libc.h	Sat Jan 07 18:10:48 2017 +0100
@@ -158,7 +158,7 @@
   } glob64_t;
 #endif
 
-#if __USE_FILE_OFFSET64 && __GNUC__ < 2 && !defined __GLOB_GNULIB
+#if defined __USE_FILE_OFFSET64 && __GNUC__ < 2 && !defined __GLOB_GNULIB
 # define glob glob64
 # define globfree globfree64
 #endif