Bug 391147 - hunspell doesn't build on MSVC7.1. r+sr=mscott,a=pavlov(1.9 blocker)
authorlongsonr@gmail.com
Fri, 10 Aug 2007 02:45:35 -0700
changeset 4446 eee4ce504cb336c354515b5393b0fd4f3acf4fc5
parent 4445 43480111d52af1cb3af859c67c0d630c57353e07
child 4447 24ad1b4bc1f259f21c0c9a9c3ab6313e76e38e36
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspavlov
bugs391147
milestone1.9a8pre
Bug 391147 - hunspell doesn't build on MSVC7.1. r+sr=mscott,a=pavlov(1.9 blocker)
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"