seh_try_macros-06.diff
Greg Turner
gmturner007 at ameritech.net
Tue Jan 14 19:01:27 CST 2003
LICENSE: X11/Bugroff
CHANGELOG:
* include/wine: exception.h:
Greg Turner <gmturner007 at ameritech.net>
- There's no reason to #include assert.h unless
the user at least consumes the __try family.
Move it after the __NO_VC_SEH_MACROS__
--
diff -ur -x CVS -x 'bigdif*' -x autom4te.cache ../wine.test/include/wine/exception.h ./include/wine/exception.h
--- ../wine.test/include/wine/exception.h 2003-01-14 18:40:13.000000000 -0600
+++ ./include/wine/exception.h 2003-01-14 18:44:43.000000000 -0600
@@ -91,8 +91,6 @@
#else /* USE_COMPILER_EXCEPTIONS */
-#include <assert.h>
-
#define __TRY \
do { __WINE_FRAME __f; \
int __first = 1; \
@@ -177,6 +175,8 @@
#ifndef __NO_VC_SEH_MACROS__
+#include <assert.h>
+
#define __try \
\
if ( ({ \
--
gmt
"If everyone is thinking alike then somebody isn't
thinking." --George S. Patton
More information about the wine-patches
mailing list