From: Niels Möller Date: Thu, 15 May 2014 19:33:20 +0000 (+0200) Subject: Drop use of gettext from getopt.c. X-Git-Tag: nettle_3.0_release_20140607~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d23850d33d4ccafcb3c600cec137d686dbc63ccc;p=thirdparty%2Fnettle.git Drop use of gettext from getopt.c. --- diff --git a/ChangeLog b/ChangeLog index 3885dd4e..2a7c5845 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-05-15 Niels Möller + + * getopt.c: Don't use gettext. + 2014-05-14 Niels Möller * testsuite/nettle-pbkdf2-test: Avoid the bash construction diff --git a/getopt.c b/getopt.c index 2d481f1c..144a8b96 100644 --- a/getopt.c +++ b/getopt.c @@ -68,8 +68,9 @@ #ifdef _LIBC # include #else -# include "gettext.h" -# define _(msgid) gettext (msgid) +/* The glibc version includes "gettext.h" here, but Nettle currently doesn't + have that. */ +# define _(msgid) msgid #endif #if defined _LIBC