summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CTestTimeout/TestTimeout.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CTestTimeout/TestTimeout.c')
-rw-r--r--Tests/RunCMake/CTestTimeout/TestTimeout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CTestTimeout/TestTimeout.c b/Tests/RunCMake/CTestTimeout/TestTimeout.c
index 425548c..da397f8 100644
--- a/Tests/RunCMake/CTestTimeout/TestTimeout.c
+++ b/Tests/RunCMake/CTestTimeout/TestTimeout.c
@@ -45,7 +45,7 @@ int main(void)
#if defined(_WIN32)
Sleep((TIMEOUT + 4) * 1000);
#elif defined(SIGNAL_IGNORE)
-# if defined(__CYGWIN__) || defined(__sun__)
+# if defined(__CYGWIN__) || defined(__sun__) || defined(__GNU__)
# define ERRNO_IS_EINTR (errno == EINTR || errno == 0)
# else
# define ERRNO_IS_EINTR (errno == EINTR)