diff options
author | Bruno Haible <bruno@clisp.org> | 2017-05-13 10:35:06 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2017-05-13 16:16:04 +0200 |
commit | 6327c7d86b4c2e0f2c293f496734199006abd5cf (patch) | |
tree | a37280877a0698611b39bc6f38c62f08e64b3061 | |
parent | 7a066745997b6e2dc7422cb876a6da092a9db060 (diff) | |
download | gnulib-6327c7d86b4c2e0f2c293f496734199006abd5cf.tar.gz |
largefile: Simplify.
* m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Remove unused definition
of _GL_WINDOWS_64_BIT_ST_SIZE.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | m4/sys_stat_h.m4 | 9 |
2 files changed, 8 insertions, 7 deletions
@@ -1,5 +1,11 @@ 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. * m4/largefile.m4 (gl_LARGEFILE): Set WINDOWS_64_BIT_ST_SIZE to 0 if the mingw headers already define 'stat' appropriately. diff --git a/m4/sys_stat_h.m4 b/m4/sys_stat_h.m4 index 155667df30..8934278982 100644 --- a/m4/sys_stat_h.m4 +++ b/m4/sys_stat_h.m4 @@ -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>. |