From 94e5e79e3b004f7f11fa52da3f37e944cd5d4cdd Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Mon, 20 Aug 2018 16:02:44 +0200 Subject: [PATCH] [PSDK] Fix #ifdef in winuser.h --- sdk/include/psdk/winuser.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sdk/include/psdk/winuser.h b/sdk/include/psdk/winuser.h index 594b15beb17..3ec3858e12c 100644 --- a/sdk/include/psdk/winuser.h +++ b/sdk/include/psdk/winuser.h @@ -5600,14 +5600,14 @@ typedef MONITORINFOEXW MONITORINFOEX, *LPMONITORINFOEX; #define wsprintf wsprintfW #define wvsprintf wvsprintfW -#ifndef NOGDI +#if defined(_WINGDI_) && !defined(NOGDI) #define ChangeDisplaySettings ChangeDisplaySettingsW #define ChangeDisplaySettingsEx ChangeDisplaySettingsExW #define CreateDesktop CreateDesktopW #define EnumDisplaySettings EnumDisplaySettingsW #define EnumDisplaySettingsEx EnumDisplaySettingsExW #define EnumDisplayDevices EnumDisplayDevicesW -#endif /* NOGDI */ +#endif /* _WINGDI_ && !NOGDI */ #else /* UNICODE */ #define EDITWORDBREAKPROC EDITWORDBREAKPROCA #define PROPENUMPROC PROPENUMPROCA @@ -5772,7 +5772,7 @@ typedef MONITORINFOEXA MONITORINFOEX, *LPMONITORINFOEX; #define EnumDisplaySettings EnumDisplaySettingsA #define EnumDisplaySettingsEx EnumDisplaySettingsExA #define EnumDisplayDevices EnumDisplayDevicesA -#endif /* NOGDI */ +#endif /* _WINGDI_ && !NOGDI */ #endif /* UNICODE */ #endif /* RC_INVOKED */