]> Savannah Git Hosting - gnulib.git/commitdiff
largefile: Simplify.
authorBruno Haible <bruno@clisp.org>
Sat, 13 May 2017 08:35:06 +0000 (10:35 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 13 May 2017 14:16:04 +0000 (16:16 +0200)
* m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Remove unused definition
of _GL_WINDOWS_64_BIT_ST_SIZE.

ChangeLog
m4/sys_stat_h.m4

index 3107081f7daaacf58a3e6cc604a7b13739530889..11775f9a8ebd3b0f1ed26edb4f895f7092f2eb2a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-05-13  Bruno Haible  <bruno@clisp.org>
+
+       largefile: Simplify.
+       * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Remove unused definition
+       of _GL_WINDOWS_64_BIT_ST_SIZE.
+
 2017-05-13  Bruno Haible  <bruno@clisp.org>
 
        largefile: Improve and document.
index 155667df30f6cd106af87b41f6b4cead025a3f02..8934278982808f67d4cb3bb54736a1637d166b21 100644 (file)
@@ -1,4 +1,4 @@
-# sys_stat_h.m4 serial 30   -*- Autoconf -*-
+# sys_stat_h.m4 serial 31   -*- Autoconf -*-
 dnl Copyright (C) 2006-2017 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -27,18 +27,13 @@ AC_DEFUN([gl_HEADER_SYS_STAT_H],
   ])
   AC_SUBST([WINDOWS_STAT_TIMESPEC])
 
-  dnl Whether to override 'struct stat'.
+  dnl Whether to ensure that struct stat.st_size is 64-bit wide.
   m4_ifdef([gl_LARGEFILE], [
     AC_REQUIRE([gl_LARGEFILE])
   ], [
     WINDOWS_64_BIT_ST_SIZE=0
   ])
   AC_SUBST([WINDOWS_64_BIT_ST_SIZE])
-  if test $WINDOWS_64_BIT_ST_SIZE = 1; then
-    AC_DEFINE([_GL_WINDOWS_64_BIT_ST_SIZE], [1],
-      [Define to 1 if Gnulib overrides 'struct stat' on Windows so that
-       struct stat.st_size becomes 64-bit.])
-  fi
 
   dnl Define types that are supposed to be defined in <sys/types.h> or
   dnl <sys/stat.h>.