[D3DX9_36]
authorThomas Faber <thomas.faber@reactos.org>
Mon, 18 Nov 2013 10:46:20 +0000 (10:46 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Mon, 18 Nov 2013 10:46:20 +0000 (10:46 +0000)
- Add missing dependency on d3d_idl_headers
- Add missing port.h include (fix MSVC warnings). CORE-7538

svn path=/trunk/; revision=61035

reactos/dll/directx/wine/d3dx9_36/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_36/math.c

index 72df034..b4144ac 100644 (file)
@@ -26,6 +26,7 @@ list(APPEND SOURCE
 
 add_library(d3dx9_36 SHARED ${SOURCE} version.rc)
 set_module_type(d3dx9_36 win32dll)
 
 add_library(d3dx9_36 SHARED ${SOURCE} version.rc)
 set_module_type(d3dx9_36 win32dll)
+add_dependencies(d3dx9_36 d3d_idl_headers)
 target_link_libraries(d3dx9_36 dxguid wine)
 add_importlibs(d3dx9_36 d3dcompiler_43 d3dxof user32 ole32 gdi32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET d3dx9_36 DESTINATION reactos/system32 FOR all)
 target_link_libraries(d3dx9_36 dxguid wine)
 add_importlibs(d3dx9_36 d3dcompiler_43 d3dxof user32 ole32 gdi32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET d3dx9_36 DESTINATION reactos/system32 FOR all)
index 72a7516..eebba94 100644 (file)
@@ -25,6 +25,8 @@
 #define NONAMELESSUNION
 
 #include <config.h>
 #define NONAMELESSUNION
 
 #include <config.h>
+#include "wine/port.h"
+
 //#include "windef.h"
 //#include "wingdi.h"
 #include "d3dx9_36_private.h"
 //#include "windef.h"
 //#include "wingdi.h"
 #include "d3dx9_36_private.h"