summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/ProcessUNIX.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-08-11 14:13:23 (GMT)
committerBrad King <brad.king@kitware.com>2017-08-11 14:13:23 (GMT)
commit060cef0c44300c3fa8fb655619eb7a599083ef49 (patch)
treec07205d04371047d8ec210a932465f4497d68e6e /Source/kwsys/ProcessUNIX.c
parentc47c011c77bfd1bfb8d2060511a2b957ce181c62 (diff)
parent9e0026216fb81e71ecd6918294a7ff8004132f1d (diff)
downloadCMake-060cef0c44300c3fa8fb655619eb7a599083ef49.zip
CMake-060cef0c44300c3fa8fb655619eb7a599083ef49.tar.gz
CMake-060cef0c44300c3fa8fb655619eb7a599083ef49.tar.bz2
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys: KWSys 2017-08-11 (e1006189)
Diffstat (limited to 'Source/kwsys/ProcessUNIX.c')
-rw-r--r--Source/kwsys/ProcessUNIX.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c
index 9ebcfce..3b32ca7 100644
--- a/Source/kwsys/ProcessUNIX.c
+++ b/Source/kwsys/ProcessUNIX.c
@@ -99,7 +99,8 @@ static inline void kwsysProcess_usleep(unsigned int msec)
* pipes' file handles to be non-blocking and just poll them directly
* without select().
*/
-#if !defined(__BEOS__) && !defined(__VMS) && !defined(__MINT__)
+#if !defined(__BEOS__) && !defined(__VMS) && !defined(__MINT__) && \
+ !defined(KWSYSPE_USE_SELECT)
#define KWSYSPE_USE_SELECT 1
#endif