[cfe-commits] r116783 - /cfe/trunk/test/Sema/return.c

NAKAMURA Takumi geek4civic at gmail.com
Mon Oct 18 18:17:08 PDT 2010


Author: chapuni
Date: Mon Oct 18 20:17:08 2010
New Revision: 116783

URL: http://llvm.org/viewvc/llvm-project?rev=116783&view=rev
Log:
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>.

Modified:
    cfe/trunk/test/Sema/return.c

Modified: cfe/trunk/test/Sema/return.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/return.c?rev=116783&r1=116782&r2=116783&view=diff
==============================================================================
--- cfe/trunk/test/Sema/return.c (original)
+++ cfe/trunk/test/Sema/return.c Mon Oct 18 20:17:08 2010
@@ -203,7 +203,7 @@
   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);





More information about the cfe-commits mailing list