From 7861960a884322ef09c138d2667b3b46cf00cac1 Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Sat, 23 Dec 2017 22:39:26 +0100 Subject: [PATCH] [SDK] Guard manifest_[dll|exe].rc against wrong usage. --- sdk/include/reactos/manifest_dll.rc | 5 +++++ sdk/include/reactos/manifest_exe.rc | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/sdk/include/reactos/manifest_dll.rc b/sdk/include/reactos/manifest_dll.rc index 7cf5f92312e..3a036bf3a2b 100644 --- a/sdk/include/reactos/manifest_dll.rc +++ b/sdk/include/reactos/manifest_dll.rc @@ -1 +1,6 @@ + +#ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID +#error please include winuser.h before including me! +#endif + ISOLATIONAWARE_MANIFEST_RESOURCE_ID RT_MANIFEST "manifest.xml" diff --git a/sdk/include/reactos/manifest_exe.rc b/sdk/include/reactos/manifest_exe.rc index f2c34555bc0..6e4b3019eed 100644 --- a/sdk/include/reactos/manifest_exe.rc +++ b/sdk/include/reactos/manifest_exe.rc @@ -1 +1,6 @@ + +#ifndef CREATEPROCESS_MANIFEST_RESOURCE_ID +#error please include winuser.h before including me! +#endif + CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "manifest.xml"