diff options
author | Conrad Meyer <cem@FreeBSD.org> | 2019-04-19 00:31:04 +0000 |
---|---|---|
committer | Conrad Meyer <cem@FreeBSD.org> | 2019-04-19 00:31:04 +0000 |
commit | 3f774a5e86430d45c78443d234a90ee54582564f (patch) | |
tree | 2ba6d7db94738038417c7384773435b12fbc5265 /programs/platform.h | |
parent | af73257b093737838d6086890c91f6ec13291ea7 (diff) |
Diffstat (limited to 'programs/platform.h')
-rw-r--r-- | programs/platform.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/programs/platform.h b/programs/platform.h index 1a8f97bc4dff0..38ded872743e4 100644 --- a/programs/platform.h +++ b/programs/platform.h @@ -87,8 +87,8 @@ extern "C" { * The following list of build macros tries to "guess" if target OS is likely unix-like, and therefore can #include <unistd.h> */ # elif !defined(_WIN32) \ - && (defined(__unix__) || defined(__unix) \ - || defined(__midipix__) || defined(__VMS) || defined(__HAIKU__)) + && ( defined(__unix__) || defined(__unix) \ + || defined(__midipix__) || defined(__VMS) || defined(__HAIKU__) ) # if defined(__linux__) || defined(__linux) # ifndef _POSIX_C_SOURCE @@ -108,6 +108,7 @@ extern "C" { #endif /* PLATFORM_POSIX_VERSION */ + /*-********************************************* * Detect if isatty() and fileno() are available ************************************************/ |