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)