From 17c09b82f9cef2c97740ed38bd2001620035892a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 17 Mar 2012 15:22:59 +0300 Subject: Fix warning wih disabled NLS. --- src/utils/gettext.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/utils') diff --git a/src/utils/gettext.h b/src/utils/gettext.h index 8bb41a4cb..f9aae5a71 100644 --- a/src/utils/gettext.h +++ b/src/utils/gettext.h @@ -29,13 +29,12 @@ #include -#if ENABLE_NLS +#ifdef ENABLE_NLS #define _(s) (const_cast (gettext(s))) #define N_(s) (const_cast (s)) #else - #define gettext(s) (const_cast (s)) #define _(s) (const_cast (s)) #define N_(s) (const_cast (s)) -- cgit v1.2.3-70-g09d2