From 8099cb04969cfad3782f338443b9a661e310de62 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Sat, 27 Feb 2010 18:34:13 +0000 Subject: [PATCH] Guard IN, OUT, and OPTIONAL by guards to prevent double definition warning. svn path=/branches/header-work/; revision=45708 --- include/ddk/winddk.h | 8 ++++++++ include/psdk/windef.h | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/include/ddk/winddk.h b/include/ddk/winddk.h index e89a37adb47..31d3db403df 100644 --- a/include/ddk/winddk.h +++ b/include/ddk/winddk.h @@ -49,10 +49,18 @@ extern "C" { #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 diff --git a/include/psdk/windef.h b/include/psdk/windef.h index a985b5aebc9..97ccf73368a 100644 --- a/include/psdk/windef.h +++ b/include/psdk/windef.h @@ -64,8 +64,13 @@ extern "C" { #ifndef TRUE #define TRUE 1 #endif + +#ifndef IN #define IN +#endif +#ifndef OUT #define OUT +#endif #ifndef OPTIONAL #define OPTIONAL #endif