[ros-diffs] [greatlrd] 30731: fix compiling warings for d3d9 that I got local.

greatlrd at svn.reactos.org greatlrd at svn.reactos.org
Sun Nov 25 13:08:36 CET 2007


Author: greatlrd
Date: Sun Nov 25 15:08:36 2007
New Revision: 30731

URL: http://svn.reactos.org/svn/reactos?rev=30731&view=rev
Log:
fix compiling warings for d3d9 that I got local. 

Modified:
    trunk/reactos/include/psdk/d3d9types.h

Modified: trunk/reactos/include/psdk/d3d9types.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/d3d9types.h?rev=30731&r1=30730&r2=30731&view=diff
==============================================================================
--- trunk/reactos/include/psdk/d3d9types.h (original)
+++ trunk/reactos/include/psdk/d3d9types.h Sun Nov 25 15:08:36 2007
@@ -191,9 +191,11 @@
 #define D3DVERTEXTEXTURESAMPLER2 (D3DDMAPSAMPLER+3)
 #define D3DVERTEXTEXTURESAMPLER3 (D3DDMAPSAMPLER+4)
 
+#ifndef MAKEFOURCC
 #define MAKEFOURCC(ch0, ch1, ch2, ch3)  \
     ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) |  \
     ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))
+#endif
 
 /* Constants used by D3DPRESENT_PARAMETERS. when creating a device or swapchain */
 




More information about the Ros-diffs mailing list