Remove unnecessary STRICT defines

Francois Gouget fgouget at free.fr
Mon Jul 11 07:13:36 CDT 2005


In windef.h we define STRICT unless NO_STRICT is set (like the Windows 
SDK does). So it is not needed to define STRICT in individual C files.


Changelog:

  * dlls/dinput/tests/joystick.c
    dlls/dinput/tests/keyboard.c
    dlls/dinput/tests/mouse.c

    Francois Gouget <fgouget at free.fr>
    Remove unnecessary STRICT defines


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                   A black hole is just God dividing by zero.
-------------- next part --------------
Index: dlls/dinput/tests/joystick.c
===================================================================
RCS file: /var/cvs/wine/dlls/dinput/tests/joystick.c,v
retrieving revision 1.5
diff -u -p -r1.5 joystick.c
--- dlls/dinput/tests/joystick.c	6 Jul 2005 15:46:47 -0000	1.5
+++ dlls/dinput/tests/joystick.c	11 Jul 2005 11:44:09 -0000
@@ -16,7 +16,6 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#define STRICT
 #define DIRECTINPUT_VERSION 0x0700
 
 #define NONAMELESSSTRUCT
Index: dlls/dinput/tests/keyboard.c
===================================================================
RCS file: /var/cvs/wine/dlls/dinput/tests/keyboard.c,v
retrieving revision 1.2
diff -u -p -r1.2 keyboard.c
--- dlls/dinput/tests/keyboard.c	20 Jun 2005 14:18:05 -0000	1.2
+++ dlls/dinput/tests/keyboard.c	11 Jul 2005 11:00:37 -0000
@@ -16,7 +16,6 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#define STRICT
 #define DIRECTINPUT_VERSION 0x0700
 
 #define NONAMELESSSTRUCT
Index: dlls/dinput/tests/mouse.c
===================================================================
RCS file: /var/cvs/wine/dlls/dinput/tests/mouse.c,v
retrieving revision 1.2
diff -u -p -r1.2 mouse.c
--- dlls/dinput/tests/mouse.c	21 Jun 2005 20:53:14 -0000	1.2
+++ dlls/dinput/tests/mouse.c	11 Jul 2005 11:00:45 -0000
@@ -16,7 +16,6 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#define STRICT
 #define DIRECTINPUT_VERSION 0x0700
 
 #define NONAMELESSSTRUCT


More information about the wine-patches mailing list