From 3b76f1e67a63c4efca97d84b719db76fdb505175 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 26 Mar 2011 11:43:22 +0000 Subject: [PATCH] [CMAKE] define isinf to !_finite to fix MSVC build svn path=/branches/cmake-bringup/; revision=51151 --- dll/directx/wine/wined3d/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/dll/directx/wine/wined3d/CMakeLists.txt b/dll/directx/wine/wined3d/CMakeLists.txt index 628eee994d9..840c321307a 100644 --- a/dll/directx/wine/wined3d/CMakeLists.txt +++ b/dll/directx/wine/wined3d/CMakeLists.txt @@ -10,6 +10,7 @@ set_rc_compiler() if(MSVC) add_definitions(-Disnan=_isnan) + add_definitions(-Disinf=!_finite) endif() spec2def(wined3d.dll wined3d.spec)