Fix build on macOS (bug#28571)
* src/conf_post.h (HAVE_FUTIMENS, HAVE_FUTIMESAT, HAVE_UTIMENSAT) [DARWIN_OS]: Undefine.
This commit is contained in:
parent
0f9a78e770
commit
fec63089d5
1 changed files with 9 additions and 0 deletions
|
@ -397,3 +397,12 @@ extern int emacs_setenv_TZ (char const *);
|
|||
#else
|
||||
# define UNINIT /* empty */
|
||||
#endif
|
||||
|
||||
/* macOS 10.13 supports futimens, futimesat and utimensat, older
|
||||
versions don't but can appear as though they do. Disable them
|
||||
entirely to avoid breaking cross-version builds on macOS. */
|
||||
#ifdef DARWIN_OS
|
||||
# undef HAVE_FUTIMENS
|
||||
# undef HAVE_FUTIMESAT
|
||||
# undef HAVE_UTIMENSAT
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue