mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
file: Fix cross-compilation on Darwin/macOS
Darwin/macOS does not have pipe2(2). Apply a similar guard as inf3d7ace4b2
after43a5ec4eb4
. Pull Request: https://github.com/freebsd/freebsd-src/pull/574
This commit is contained in:
parent
2891a28052
commit
f5ccb3a33e
|
@ -127,7 +127,9 @@
|
|||
#define HAVE_NEWLOCALE 1
|
||||
|
||||
/* Define to 1 if you have the `pipe2' function. */
|
||||
#ifndef __APPLE__ /* Cross building tools on macOS */
|
||||
#define HAVE_PIPE2 1
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the `pread' function. */
|
||||
#define HAVE_PREAD 1
|
||||
|
|
Loading…
Reference in a new issue