diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2010-10-19 01:17:08 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2010-10-19 01:17:08 +0000 |
commit | eada35c933d8560a5d87741438a610d13d6e11d3 (patch) | |
tree | a783581ab478598cb822f888f6c6c0e803fc7e42 /test/Sema | |
parent | 5e937019f688f69278ff8d68ea51056dc20b1f97 (diff) |
test/Sema/return.c: Cygwin does not have _longjmp().
Although Cygwin-1.7 has _longjmp(), it would not be essential for this
to distinguish Cygwin's version with <cygwin/version.h>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@116783 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema')
-rw-r--r-- | test/Sema/return.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/return.c b/test/Sema/return.c index 597b50214e..0c2c72ee53 100644 --- a/test/Sema/return.c +++ b/test/Sema/return.c @@ -203,7 +203,7 @@ int test30() { if (j) longjmp(test30_j, 1); else -#if defined(_WIN32) || defined(_WIN64) +#if defined(_WIN32) || defined(_WIN64) || defined(__CYGWIN__) longjmp(test30_j, 2); #else _longjmp(test30_j, 1); |