https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7861960a884322ef09c138...
commit 7861960a884322ef09c138d2667b3b46cf00cac1 Author: Mark Jansen mark.jansen@reactos.org AuthorDate: Sat Dec 23 22:39:26 2017 +0100
[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 7cf5f92312..3a036bf3a2 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 f2c34555bc..6e4b3019ee 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"