Author: mturk
Date: Mon Jun 29 10:20:07 2009
New Revision: 789276

URL: http://svn.apache.org/viewvc?rev=789276&view=rev
Log:
Fix no memprotect macro

Modified:
    commons/sandbox/runtime/trunk/src/main/native/include/acr_error.h

Modified: commons/sandbox/runtime/trunk/src/main/native/include/acr_error.h
URL: 
http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/include/acr_error.h?rev=789276&r1=789275&r2=789276&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/include/acr_error.h (original)
+++ commons/sandbox/runtime/trunk/src/main/native/include/acr_error.h Mon Jun 
29 10:20:07 2009
@@ -123,11 +123,9 @@
 
 #endif
 #else
-#define ACR_TRY                                                               \
-    int _seh_error = 0;                                                       \
-    {
-#define ACR_CATCH()                                                           \
-    } if (_seh_error)
+static int _seh_error = 0;
+#define ACR_TRY
+#define ACR_CATCH() if (_seh_error)
 
 #endif /* HAVE_MEMPROTECT */
 


Reply via email to