From 72c39aee65ed88c81343c80bd5cbfbf1f4611218 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 28 Jun 2011 02:57:42 +0300 Subject: More fixes for compilation under MacOS. Add sample make script for fink. Possible broke support for dmg images. --- src/utils/gettext.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/utils') diff --git a/src/utils/gettext.h b/src/utils/gettext.h index 0a15aa724..67d74aa19 100644 --- a/src/utils/gettext.h +++ b/src/utils/gettext.h @@ -39,15 +39,7 @@ #define gettext(s) (const_cast (s)) #define _(s) (const_cast (s)) #define N_(s) (const_cast (s)) - -char* ngettext(char* msgid, char* msgid_plural, unsigned long int n); - -char* ngettext(char* msgid, char* msgid_plural, unsigned long int n) -{ - if(n > 1) - return msgid_plural; - return msgid; -} +#define ngettext(s1,s2,i1) (const_cast (s1)) #endif -- cgit v1.2.3-60-g2f50