mirror of https://github.com/aria2/aria2
Moved include of gettext.h to the outside of #ifdef ENABLE_NLS since
gettext.h has it inside itself.pull/1/head
parent
ce41bbbb2e
commit
f4e008f886
|
@ -59,8 +59,8 @@ typedef _off_t off_t;
|
||||||
#endif
|
#endif
|
||||||
#endif // __MINGW32__
|
#endif // __MINGW32__
|
||||||
|
|
||||||
|
#include "gettext.h"
|
||||||
#ifdef ENABLE_NLS
|
#ifdef ENABLE_NLS
|
||||||
# include "gettext.h"
|
|
||||||
# define _(String) gettext(String)
|
# define _(String) gettext(String)
|
||||||
#else // ENABLE_NLS
|
#else // ENABLE_NLS
|
||||||
# define _(String) String
|
# define _(String) String
|
||||||
|
|
Loading…
Reference in New Issue