[PATCH]opcodes/i386-gen.c: fix missing #ifdef ENABLE_NLS
Ivan Krasin
krasin@chromium.org
Tue Aug 30 15:32:00 GMT 2011
More information about the Binutils mailing list
Tue Aug 30 15:32:00 GMT 2011
- Previous message (by thread): binutils-2.20.1a replaced by 2.20.1 and so 2.21.1a?
- Next message (by thread): [PATCH]opcodes/i386-gen.c: fix missing #ifdef ENABLE_NLS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi binutils team! Please, accept this tiny patch. You can find it attached or inlined. I would be happy to address any issue, if any. Thanks, Ivan Krasin diff --git a/opcodes/i386-gen.c b/opcodes/i386-gen.c index a0d0627..4974cd0 100644 --- a/opcodes/i386-gen.c +++ b/opcodes/i386-gen.c @@ -28,8 +28,12 @@ #include "i386-opc.h" -#include <libintl.h> -#define _(String) gettext (String) +#ifdef ENABLE_NLS +# include <libintl.h> +# define _(String) gettext (String) +#else +# define _(String) (String) +#endif static const char *program_name = NULL; static int debug = 0; -------------- next part -------------- A non-text attachment was scrubbed... Name: binutils-opcodes-1.patch Type: text/x-patch Size: 426 bytes Desc: not available URL: <https://sourceware.org/pipermail/binutils/attachments/20110830/aaaad0fc/attachment.bin>
- Previous message (by thread): binutils-2.20.1a replaced by 2.20.1 and so 2.21.1a?
- Next message (by thread): [PATCH]opcodes/i386-gen.c: fix missing #ifdef ENABLE_NLS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list