aboutsummaryrefslogtreecommitdiff
path: root/tools/os_support.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/os_support.h')
-rw-r--r--tools/os_support.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/os_support.h b/tools/os_support.h
index 7dcbee4b3..5bf7add39 100644
--- a/tools/os_support.h
+++ b/tools/os_support.h
@@ -28,7 +28,7 @@
#include "mingw_support.h"
#endif
-#ifdef __APPLE__
+#if defined(__APPLE__) && __DARWIN_C_LEVEL < 200809L
#include "getline.h"
#endif