aboutsummaryrefslogtreecommitdiffstats
path: root/m4/utimens.m4
diff options
context:
space:
mode:
authorVibhav Pant2020-08-21 14:04:35 +0530
committerVibhav Pant2020-08-21 14:04:35 +0530
commitf0f8d7b82492e741950c363a03b886965c91b1b0 (patch)
tree19b716830b1ebabc0d7d75949c4e6800c0f104ad /m4/utimens.m4
parent9e64a087c4d167e7ec1c4e22bea3e6af53b563de (diff)
parentc818c29771d3cb51875643b2f6c894073e429dd2 (diff)
downloademacs-feature/native-comp-macos-fixes.tar.gz
emacs-feature/native-comp-macos-fixes.zip
Merge branch 'feature/native-comp' into feature/native-comp-macos-fixesfeature/native-comp-macos-fixes
Diffstat (limited to 'm4/utimens.m4')
-rw-r--r--m4/utimens.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/utimens.m4 b/m4/utimens.m4
index 65617ac862c..3d31085fc6d 100644
--- a/m4/utimens.m4
+++ b/m4/utimens.m4
@@ -3,7 +3,7 @@ dnl This file is free software; the Free Software Foundation
3dnl gives unlimited permission to copy and/or distribute it, 3dnl gives unlimited permission to copy and/or distribute it,
4dnl with or without modifications, as long as this notice is preserved. 4dnl with or without modifications, as long as this notice is preserved.
5 5
6dnl serial 10 6dnl serial 11
7 7
8AC_DEFUN([gl_UTIMENS], 8AC_DEFUN([gl_UTIMENS],
9[ 9[
@@ -24,7 +24,8 @@ AC_DEFUN([gl_UTIMENS],
24#include <stddef.h> 24#include <stddef.h>
25#include <sys/times.h> 25#include <sys/times.h>
26#include <fcntl.h> 26#include <fcntl.h>
27]], [[ int fd = open ("conftest.file", O_RDWR); 27]GL_MDA_DEFINES],
28 [[int fd = open ("conftest.file", O_RDWR);
28 if (fd < 0) return 1; 29 if (fd < 0) return 1;
29 if (futimesat (fd, NULL, NULL)) return 2; 30 if (futimesat (fd, NULL, NULL)) return 2;
30 ]])], 31 ]])],