Commit 925c54a3 authored by Jose Luis Duran's avatar Jose Luis Duran Committed by Jessica Clarke
Browse files

file: Fix cross-compilation on Darwin/macOS

Darwin/macOS does not have pipe2(2).

Apply a similar guard as in f3d7ace4
after 43a5ec4e.

Pull Request:

(cherry picked from commit f5ccb3a3)
parent 8599e69d
......@@ -126,7 +126,9 @@
/* Define to 1 if you have the `pipe2' function. */
#ifndef __APPLE__ /* Cross building tools on macOS */
#define HAVE_PIPE2 1
/* Define to 1 if you have the `pread' function. */
#define HAVE_PREAD 1
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment