Hash :
a01be164
Author :
Date :
2020-06-28T13:18:11
getrandom: do not depend on ‘open’ on mingw Similarly for at-internal, getloadavg. These modules do not call the ‘open’ function when they are compiled on mingw. On mingw, this avoids having to compile open.c when building Emacs, which does its own thing with ‘open’. * modules/at-internal, modules/getloadavg, modules/getrandom: (Depends-on): Don’t depend on ‘open’ on mingw. (Depends-on): Require AC_CANONICAL_HOST, for host_os. * modules/getloadavg (Depends-on): Depend on intprops, open, stdbool, stdlib only if compiling getloadavg.c.
Description:
Internal functions for dealing with files relative to a directory.
Files:
lib/openat-priv.h
lib/openat-proc.c
Depends-on:
errno
fcntl-h
intprops
open [case $host_os in mingw*) false;; *) :;; esac]
sys_stat
unistd
configure.ac:
AC_REQUIRE([AC_CANONICAL_HOST])
Makefile.am:
lib_SOURCES += openat-priv.h openat-proc.c
Include:
"openat-priv.h"
License:
GPL
Maintainer:
Jim Meyering, Eric Blake