From 0968d748f157ecce4155b255ff98fa909c325bd9 Mon Sep 17 00:00:00 2001 From: jacob Date: Wed, 28 Feb 2007 21:49:48 +0000 Subject: [PATCH] MinGW windres doesn't like an empty resource file, so invent a resource to keep it happy. (Hopefully this hack will be temporary.) git-svn-id: svn://svn.tartarus.org/sgt/puzzles@7346 cda61777-01e9-0310-a592-d414129be87e --- noicon.rc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/noicon.rc b/noicon.rc index 26a70db..1de605d 100644 --- a/noicon.rc +++ b/noicon.rc @@ -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 -- 2.11.0