diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-17 15:22:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-17 15:22:59 +0300 |
commit | 17c09b82f9cef2c97740ed38bd2001620035892a (patch) | |
tree | 4c0a8f2b1f18b42a07e2d0579e765388a0807932 | |
parent | f5cff2578b7dc6a8bef389d6bac8df9596cf03bd (diff) | |
download | mv-17c09b82f9cef2c97740ed38bd2001620035892a.tar.gz mv-17c09b82f9cef2c97740ed38bd2001620035892a.tar.bz2 mv-17c09b82f9cef2c97740ed38bd2001620035892a.tar.xz mv-17c09b82f9cef2c97740ed38bd2001620035892a.zip |
Fix warning wih disabled NLS.
-rw-r--r-- | src/utils/gettext.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 <libintl.h> -#if ENABLE_NLS +#ifdef ENABLE_NLS #define _(s) (const_cast <char*>(gettext(s))) #define N_(s) (const_cast <char*>(s)) #else - #define gettext(s) (const_cast <char*>(s)) #define _(s) (const_cast <char*>(s)) #define N_(s) (const_cast <char*>(s)) |