diff options
| author | Paul Eggert | 2017-05-14 01:29:05 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-05-14 01:29:29 -0700 |
| commit | 4132bd74e9816ca913f862835cc062e092ab8b79 (patch) | |
| tree | 7861e23ef6007320ca0417a147656cf9774473b7 /lib/stat-time.h | |
| parent | 9a5e864de731e113badbe300b1e4174f103547fa (diff) | |
| download | emacs-4132bd74e9816ca913f862835cc062e092ab8b79.tar.gz emacs-4132bd74e9816ca913f862835cc062e092ab8b79.zip | |
Merge from gnulib
This incorporates:
2017-05-13 largefile: Simplify
2017-05-13 largefile: Improve and document
2017-05-13 truncate: New module
2017-05-13 windows-stat-timespec: New module
2017-05-13 windows-stat-override: New module
2017-05-11 getopt-posix: port to mingw
2017-05-11 gettimeofday: Increase precision on mingw
2017-05-10 time: Fix missing initialization of HAVE_TIMEZONE_T
2017-05-10 Implement a way to opt out from MSVC support
2017-05-09 tzset: Expand comment about TZ problem on native Windows
* build-aux/config.guess, lib/dup2.c, lib/fcntl.c, lib/fsync.c:
* lib/getdtablesize.c, lib/getopt.c, lib/gettimeofday.c:
* lib/mktime.c, lib/stat-time.h, lib/sys_stat.in.h, lib/unistd.in.h:
* lib/utimens.c, m4/gettimeofday.m4, m4/largefile.m4:
* m4/sys_stat_h.m4, m4/sys_time_h.m4, m4/time_h.m4, m4/time_rz.m4:
* m4/unistd_h.m4: Copy from gnulib.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
Diffstat (limited to 'lib/stat-time.h')
| -rw-r--r-- | lib/stat-time.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stat-time.h b/lib/stat-time.h index 154d62a01f5..88dcc7f3e0d 100644 --- a/lib/stat-time.h +++ b/lib/stat-time.h | |||
| @@ -43,8 +43,8 @@ extern "C" { | |||
| 43 | time respectively. | 43 | time respectively. |
| 44 | 44 | ||
| 45 | These macros are private to stat-time.h. */ | 45 | These macros are private to stat-time.h. */ |
| 46 | #if defined HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC | 46 | #if _GL_WINDOWS_STAT_TIMESPEC || defined HAVE_STRUCT_STAT_ST_ATIM_TV_NSEC |
| 47 | # ifdef TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC | 47 | # if _GL_WINDOWS_STAT_TIMESPEC || defined TYPEOF_STRUCT_STAT_ST_ATIM_IS_STRUCT_TIMESPEC |
| 48 | # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) | 48 | # define STAT_TIMESPEC(st, st_xtim) ((st)->st_xtim) |
| 49 | # else | 49 | # else |
| 50 | # define STAT_TIMESPEC_NS(st, st_xtim) ((st)->st_xtim.tv_nsec) | 50 | # define STAT_TIMESPEC_NS(st, st_xtim) ((st)->st_xtim.tv_nsec) |