[SDK] Guard manifest_[dll|exe].rc against wrong usage.
authorMark Jansen <mark.jansen@reactos.org>
Sat, 23 Dec 2017 21:39:26 +0000 (22:39 +0100)
committerMark Jansen <mark.jansen@reactos.org>
Sun, 24 Dec 2017 10:44:21 +0000 (11:44 +0100)
sdk/include/reactos/manifest_dll.rc
sdk/include/reactos/manifest_exe.rc

index 7cf5f92..3a036bf 100644 (file)
@@ -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"
index f2c3455..6e4b301 100644 (file)
@@ -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"