Francois Gouget : wined3d: Protect float.h inclusion.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 13 07:03:31 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 0ff18f58fa9fb64697c9bcabed6274c0dcef5deb
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=0ff18f58fa9fb64697c9bcabed6274c0dcef5deb

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Feb 13 13:23:42 2006 +0100

wined3d: Protect float.h inclusion.

---

 dlls/wined3d/device.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 4b10c6d..2f6910b 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -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-cvs mailing list