[ros-diffs] [greatlrd] 31603: add #ifndef _DDRAWGDI_ so we can use this file more and once. and gcc does not complain if it include twice
greatlrd at svn.reactos.org
greatlrd at svn.reactos.org
Sat Jan 5 12:07:31 CET 2008
Author: greatlrd
Date: Sat Jan 5 14:07:31 2008
New Revision: 31603
URL: http://svn.reactos.org/svn/reactos?rev=31603&view=rev
Log:
add #ifndef _DDRAWGDI_ so we can use this file more and once.
and gcc does not complain if it include twice
Modified:
trunk/reactos/include/psdk/ddrawgdi.h
Modified: trunk/reactos/include/psdk/ddrawgdi.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ddrawgdi.h?rev=31603&r1=31602&r2=31603&view=diff
==============================================================================
--- trunk/reactos/include/psdk/ddrawgdi.h (original)
+++ trunk/reactos/include/psdk/ddrawgdi.h Sat Jan 5 14:07:31 2008
@@ -17,6 +17,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifndef _DDRAWGDI_
+#define _DDRAWGDI_
#include <d3dhal.h>
/* Define the real export names */
@@ -159,3 +161,4 @@
LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl1,
LPDDRAWI_DDRAWSURFACE_LCL pDDSLcl2
);
+#endif
More information about the Ros-diffs
mailing list