stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r564170 - /incubator/stdcxx/trunk/include/ansi/csetjmp
Date Thu, 09 Aug 2007 11:24:59 GMT
Author: faridz
Date: Thu Aug  9 04:24:59 2007
New Revision: 564170

URL: http://svn.apache.org/viewvc?view=rev&rev=564170
Log:
2007-08-09 Farid Zaripov <Farid_Zaripov@epam.com>

	STDCXX-513
	* csetjmp: #define setjmp macro if it's not #defined.

Modified:
    incubator/stdcxx/trunk/include/ansi/csetjmp

Modified: incubator/stdcxx/trunk/include/ansi/csetjmp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/ansi/csetjmp?view=diff&rev=564170&r1=564169&r2=564170
==============================================================================
--- incubator/stdcxx/trunk/include/ansi/csetjmp (original)
+++ incubator/stdcxx/trunk/include/ansi/csetjmp Thu Aug  9 04:24:59 2007
@@ -54,7 +54,7 @@
 #endif   // _RWSTD_NAMESPACE_STD_OPEN == 9
 
 #else   // if defined (_RWSTD_NO_DEPRECATED_C_HEADERS)
-#undef setjmp
+
 #ifndef _RWSTD_CSETJMP_INCLUDED
 #define _RWSTD_CSETJMP_INCLUDED
 
@@ -76,5 +76,9 @@
 #endif   // _RWSTD_CSETJMP_INCLUDED
 
 #endif   // _RWSTD_NO_DEPRECATED_C_HEADERS
+
+#ifndef setjmp
+#  define setjmp(env) setjmp (env)
+#endif
 
 #endif   // _RWSTD_NO_PURE_C_HEADERS



Mime
View raw message