Add weird XML manifest resources, to enable WinXP skins to work
[sgt/putty] / puttygen.rc
index a6d07ec..5efb155 100644 (file)
@@ -3,6 +3,11 @@
 #include <winresrc.h>
 #endif
 
+/* Some systems don't define this, so I do it myself if necessary */
+#ifndef RT_MANIFEST
+#define RT_MANIFEST 24
+#endif
+
 200 ICON "puttygen.ico"
 
 201 DIALOG DISCARDABLE 0, 0, 318, 270
@@ -75,3 +80,5 @@ BEGIN
     LTEXT "OTHER DEALINGS IN THE SOFTWARE.", 1022, 10, 218, 206, 8
 
 END
+
+1 RT_MANIFEST "puttygen.mft"