I was compiling the tests on MSVC (hence my patch), and the gdi32test
wouldn't compile with the Wine headers (but would with MSVC's). The
problem can be traced back to the absence of STRICT in windef.h. With
the closure of bug #90 (compilation with -DSTRICT), I think it would
make sense to define it in a header (windef.h seems logical), with an
ifdef NO_STRICT provision (see the attached proposed patch). This would
allow to remove all -DSTRICT on compilation command lines.
I await your comments on it.
Vincent
--- wine-20021206-1700/include/windef.h 2002-10-23 20:47:38.000000000 -0400
+++ wine-20021206-1700/include/windef.h 2002-12-07 16:34:02.000000000 -0500
@@ -28,6 +28,12 @@
#ifndef WINVER
#define WINVER 0x0500
#endif
+
+#ifndef NO_STRICT
+#ifndef STRICT
+#define STRICT
+#endif /* STRICT */
+#endif /* NO_STRICT */
#include "winnt.h"