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.…
==============================================================================
--- 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…
==============================================================================
--- 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