Protect float.h inclusion

Francois Gouget fgouget at free.fr
Sun Feb 12 13:12:32 CST 2006


Changelog:

  * dlls/wined3d/device.c

    Francois Gouget <fgouget at free.fr>
    Protect float.h inclusion.

-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
                   Hiroshima '45 - Czernobyl '86 - Windows '95
-------------- next part --------------
Index: dlls/wined3d/device.c
===================================================================
RCS file: /home/wine/wine/dlls/wined3d/device.c,v
retrieving revision 1.127
diff -u -p -r1.127 device.c
--- dlls/wined3d/device.c	11 Feb 2006 19:38:52 -0000	1.127
+++ dlls/wined3d/device.c	12 Feb 2006 19:08:15 -0000
@@ -22,7 +22,9 @@
  */
 
 #include "config.h"
-#include <float.h>
+#ifdef HAVE_FLOAT_H
+# include <float.h>
+#endif
 #include "wined3d_private.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(d3d);


More information about the wine-patches mailing list