seh_try_macros-06.diff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



LICENSE: X11/Bugroff
CHANGELOG:
* include/wine: exception.h:
  Greg Turner <gmturner007@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



[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux