From 0a8e42276c544a6aa159647e982c4e5077259116 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Briano?= Date: Wed, 30 Jul 2014 11:00:35 -0300 Subject: [PATCH] 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. --- src/bin/private.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/bin/private.h b/src/bin/private.h index fb94b90e..720326aa 100644 --- a/src/bin/private.h +++ b/src/bin/private.h @@ -9,8 +9,6 @@ #define _(string) gettext (string) #else #define _(string) (string) -#undef gettext -#define gettext(string) (string) #endif #define gettext_noop(String) String