2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Fixed compilation error with --disable-nls
	It seems that defining gettext(Msgid) to ((const char *) 
(Msgid))
	in gettext.h causes the problem.
	* src/common.h
pull/1/head
Tatsuhiro Tsujikawa 2008-03-08 07:53:16 +00:00
parent e57a070a3f
commit aa669e8646
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2008-03-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed compilation error with --disable-nls
It seems that defining gettext(Msgid) to ((const char *) (Msgid))
in gettext.h causes the problem.
* src/common.h
2008-03-07 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Removed subPiece related functions.

View File

@ -52,8 +52,12 @@
#endif
#endif // __MINGW32__
#include "gettext.h"
#define _(String) gettext(String)
#ifdef ENABLE_NLS
# include "gettext.h"
# define _(String) gettext(String)
#else // ENABLE_NLS
# define _(String) String
#endif
// use C99 limit macros
#define __STDC_LIMIT_MACROS