[ros-diffs] [ktietz] 45708: Guard IN, OUT, and OPTIONAL by guards to prevent double definition warning.

ktietz at svn.reactos.org ktietz at svn.reactos.org
Sat Feb 27 19:34:14 CET 2010


Author: ktietz
Date: Sat Feb 27 19:34:13 2010
New Revision: 45708

URL: http://svn.reactos.org/svn/reactos?rev=45708&view=rev
Log:
Guard IN, OUT, and OPTIONAL by guards to prevent double definition warning.

Modified:
    branches/header-work/include/ddk/winddk.h
    branches/header-work/include/psdk/windef.h

Modified: branches/header-work/include/ddk/winddk.h
URL: http://svn.reactos.org/svn/reactos/branches/header-work/include/ddk/winddk.h?rev=45708&r1=45707&r2=45708&view=diff
==============================================================================
--- branches/header-work/include/ddk/winddk.h [iso-8859-1] (original)
+++ branches/header-work/include/ddk/winddk.h [iso-8859-1] Sat Feb 27 19:34:13 2010
@@ -49,10 +49,18 @@
 #endif
 
 /* Pseudo modifiers for parameters */
+#ifndef IN
 #define IN
+#endif
+#ifndef OUT
 #define OUT
+#endif
+#ifndef OPTIONAL
 #define OPTIONAL
+#endif
+#ifndef UNALLIGNED
 #define UNALLIGNED
+#endif
 
 #define CONST const
 

Modified: branches/header-work/include/psdk/windef.h
URL: http://svn.reactos.org/svn/reactos/branches/header-work/include/psdk/windef.h?rev=45708&r1=45707&r2=45708&view=diff
==============================================================================
--- branches/header-work/include/psdk/windef.h [iso-8859-1] (original)
+++ branches/header-work/include/psdk/windef.h [iso-8859-1] Sat Feb 27 19:34:13 2010
@@ -64,8 +64,13 @@
 #ifndef TRUE
 #define TRUE 1
 #endif
+
+#ifndef IN
 #define IN
+#endif
+#ifndef OUT
 #define OUT
+#endif
 #ifndef OPTIONAL
 #define OPTIONAL
 #endif




More information about the Ros-diffs mailing list