]> git.saurik.com Git - wxWidgets.git/commitdiff
Skip VarFileInfo block when using windres.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Aug 2009 00:19:55 +0000 (00:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 2 Aug 2009 00:19:55 +0000 (00:19 +0000)
It doesn't seem to understand this syntax and dies with an uninformative "syntax error".

Closes #11055.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/version.rc

index f7919720cc44aaac073a8c2524e01c7e59bfc326..c3f51db8f59db2a02b4c515bd80745d05f475bf1 100644 (file)
@@ -62,8 +62,11 @@ BEGIN
             VALUE "SpecialBuild", "\0"
         END
     END
+    // windres can't handle the syntax below for some reason (see #11055)
+#ifndef __GNUC__
     BLOCK "VarFileInfo"
     BEGIN
             VALUE "Translation", LANG, CHARSET
     END
+#endif // !__GNUC__
 END