mirror of https://github.com/aria2/aria2
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.hpull/1/head
parent
e57a070a3f
commit
aa669e8646
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue