Permalink
Browse files

hopefully fix icon.rc

  • Loading branch information...
1 parent 07abaf1 commit b19f9e9822ac7b558a22c6e2858d4b5d967b43cb Karl-Robert Ernst committed May 20, 2009
Showing with 16 additions and 2 deletions.
  1. +16 −2 rts/icon.rc
View
@@ -1,2 +1,16 @@
-1 ICON "spring.ico"
-1 RT_MANIFEST "spring.exe.manifest"
+#if defined(__MWERKS__)
+#include <winresrc.h>
+#else
+#include <windows.h>
+#endif
+
+// see "about isolated applications" topic in MSDN
+#ifdef ISOLATION_AWARE_ENABLED
+#define MANIFEST_ID 2
+#else
+#define MANIFEST_ID 1
+#endif
+
+MANIFEST_ID 24 "spring.exe.manifest"
+
+1 ICON "spring.ico"

0 comments on commit b19f9e9

Please sign in to comment.