diff options
| author | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2007-02-28 21:49:48 +0000 |
|---|---|---|
| committer | Jacob Nevins <jacobn@chiark.greenend.org.uk> | 2007-02-28 21:49:48 +0000 |
| commit | 3940c22d49f37001f8c1b60d4b9fd37aa4a98f0a (patch) | |
| tree | d4ed12e9193b2533bee4e44cf5c405e2a915f573 | |
| parent | 9287d95d0810e6fc76625aa270ecdff297934c55 (diff) | |
| download | puzzles-3940c22d49f37001f8c1b60d4b9fd37aa4a98f0a.zip puzzles-3940c22d49f37001f8c1b60d4b9fd37aa4a98f0a.tar.gz puzzles-3940c22d49f37001f8c1b60d4b9fd37aa4a98f0a.tar.bz2 puzzles-3940c22d49f37001f8c1b60d4b9fd37aa4a98f0a.tar.xz | |
MinGW windres doesn't like an empty resource file, so invent a resource to
keep it happy. (Hopefully this hack will be temporary.)
[originally from svn r7346]
| -rw-r--r-- | noicon.rc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ /* Puzzle resource file without an icon, used in the absence of icons/foo.rc */ #include "puzzles.rc2" + +/* XXX this probably isn't the right test, but it'll do. */ +#ifdef MINGW32_FIX +/* XXX The MinGW toolchain (specifically, windres) doesn't like a resource + * file with no resources. Give it a dummy one. + * This can go if/when VERSIONINFO resources are added. */ +200 RCDATA { 0 } +#endif |