Bug 391147 --> hunspell doesn't build on MSVC71.1 patch by Robert Longson <longsonr@gmail.com> 1.9 blocker sr=mscott
authorscott@scott-macgregor.org
Wed, 08 Aug 2007 16:02:34 -0700
changeset 4403 bd5fe4b028a1b771ba26e9e2ab3ac6faf02cd4b2
parent 4402 883f95e5edc44f223b4163966afaa1263d9d2614
child 4404 afad85892e76d89d47b1ff8147e9d068850523b4
push idunknown
push userunknown
push dateunknown
reviewersmscott
bugs391147
milestone1.9a8pre
Bug 391147 --> hunspell doesn't build on MSVC71.1 patch by Robert Longson <longsonr@gmail.com> 1.9 blocker sr=mscott
extensions/spellcheck/hunspell/src/atypes.hxx
--- a/extensions/spellcheck/hunspell/src/atypes.hxx
+++ b/extensions/spellcheck/hunspell/src/atypes.hxx
@@ -55,21 +55,20 @@
  ******* END LICENSE BLOCK *******/
 
 #ifndef _ATYPES_HXX_
 #define _ATYPES_HXX_
 
 #ifndef HUNSPELL_WARNING
 #ifdef HUNSPELL_WARNING_ON
 #define HUNSPELL_WARNING fprintf
+#else
+static inline void HUNSPELL_WARNING(FILE *, const char *, ...) {}
+#endif
 #define WARNVAR warnvar
-#else
-#define HUNSPELL_WARNING(a,b,...) {}
-#define WARNVAR
-#endif
 #endif
 
 // HUNSTEM def.
 #define HUNSTEM
 
 #include "csutil.hxx"
 #include "hashmgr.hxx"