summaryrefslogtreecommitdiff
path: root/m4/sys_types_h.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-06-04 14:25:43 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2017-06-04 14:28:35 -0700
commit5a02f1ab0a7ae34d4bef4cc8cc5f99e62599be08 (patch)
treebd2ee1280ab7f882ea86886bed50edcc878fe759 /m4/sys_types_h.m4
parentaad5573e2e307ba42eea5b6b76b0b9788a5eaaec (diff)
downloadgnulib-5a02f1ab0a7ae34d4bef4cc8cc5f99e62599be08.tar.gz
same-inode: port better to VMS 8.2 and later
Problem reported by John E. Malmberg in: http://lists.gnu.org/archive/html/bug-gnulib/2017-06/msg00005.html * lib/same-inode.h (SAME_INODE) [__VMS && 80200000 <= __CRTL_VER]: Use the usual POSIX definition. * m4/sys_types_h.m4 (gl_SYS_TYPES_H): Define _USE_STD_STAT.
Diffstat (limited to 'm4/sys_types_h.m4')
-rw-r--r--m4/sys_types_h.m45
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/sys_types_h.m4 b/m4/sys_types_h.m4
index e5906709f6..ec0860be90 100644
--- a/m4/sys_types_h.m4
+++ b/m4/sys_types_h.m4
@@ -1,4 +1,4 @@
-# sys_types_h.m4 serial 7
+# sys_types_h.m4 serial 8
dnl Copyright (C) 2011-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,
@@ -6,6 +6,9 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN_ONCE([gl_SYS_TYPES_H],
[
+ dnl Use sane struct stat types in OpenVMS 8.2 and later.
+ AC_DEFINE([_USE_STD_STAT], 1, [For standard stat data types on VMS.])
+
AC_REQUIRE([gl_SYS_TYPES_H_DEFAULTS])
gl_NEXT_HEADERS([sys/types.h])