Don't undef gettext, it breaks the build when it's disabled
Somewhere along the line, libintl.h is included whether or not --disable-nls was passed to configure, and undefining gettext makes the macros in that header make no sense.
This commit is contained in:
parent
14a7fb779f
commit
0a8e42276c
|
@ -9,8 +9,6 @@
|
||||||
#define _(string) gettext (string)
|
#define _(string) gettext (string)
|
||||||
#else
|
#else
|
||||||
#define _(string) (string)
|
#define _(string) (string)
|
||||||
#undef gettext
|
|
||||||
#define gettext(string) (string)
|
|
||||||
#endif
|
#endif
|
||||||
#define gettext_noop(String) String
|
#define gettext_noop(String) String
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue