aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-07-05 21:33:01 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-07-05 21:33:01 +0300
commit01f300ff91346ebbc8204db04e59a0ff38a30df6 (patch)
treea0ffd79e6c0f421f5f6d1d8fc0f3d980e101c9e5
parentf5f8d5f05c7e73627be492a1f702fcb04af3160f (diff)
Use __linux__ macro instead of __linux
-rw-r--r--libbutl/process.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbutl/process.cxx b/libbutl/process.cxx
index 8e401ff..3b18355 100644
--- a/libbutl/process.cxx
+++ b/libbutl/process.cxx
@@ -31,7 +31,7 @@
// bugs 378 and 10354). Also note that, at the time of this writing, glibc
// always uses fork() for systems other than Linux.
//
-# if defined(__linux) && \
+# if defined(__linux__) && \
defined(__GLIBC__) && \
defined(__GLIBC_MINOR__) && \
(__GLIBC__ > 2 || __GLIBC__ == 2 && __GLIBC_MINOR__ >= 24)