[ros-diffs] [hyperion] 41564: Don't want to fix all uses of PSEH2 macros, therefore have some curly braces, everyone

hyperion at svn.reactos.org hyperion at svn.reactos.org
Mon Jun 22 22:27:17 CEST 2009


Author: hyperion
Date: Tue Jun 23 00:27:16 2009
New Revision: 41564

URL: http://svn.reactos.org/svn/reactos?rev=41564&view=rev
Log:
Don't want to fix all uses of PSEH2 macros, therefore have some curly braces, everyone

Modified:
    trunk/reactos/include/reactos/libs/pseh/pseh2.h

Modified: trunk/reactos/include/reactos/libs/pseh/pseh2.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/libs/pseh/pseh2.h?rev=41564&r1=41563&r2=41564&view=diff
==============================================================================
--- trunk/reactos/include/reactos/libs/pseh/pseh2.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/libs/pseh/pseh2.h [iso-8859-1] Tue Jun 23 00:27:16 2009
@@ -401,10 +401,10 @@
 
 #include <excpt.h>
 
-#define _SEH2_TRY __try
-#define _SEH2_FINALLY __finally
-#define _SEH2_EXCEPT(...) __except(__VA_ARGS__)
-#define _SEH2_END
+#define _SEH2_TRY __try {
+#define _SEH2_FINALLY } __finally {
+#define _SEH2_EXCEPT(...) } __except(__VA_ARGS__) {
+#define _SEH2_END }
 
 #define _SEH2_GetExceptionInformation() (GetExceptionInformation())
 #define _SEH2_GetExceptionCode() (GetExceptionCode())



More information about the Ros-diffs mailing list