diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-28 02:57:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-28 02:57:42 +0300 |
commit | 72c39aee65ed88c81343c80bd5cbfbf1f4611218 (patch) | |
tree | d622458a039ff6644922d55c793bfd3d2c7676b9 /src/utils/gettext.h | |
parent | f902b4a3c13d1502bec17754f15fce03a21c5aaa (diff) | |
download | manaplus-72c39aee65ed88c81343c80bd5cbfbf1f4611218.tar.gz manaplus-72c39aee65ed88c81343c80bd5cbfbf1f4611218.tar.bz2 manaplus-72c39aee65ed88c81343c80bd5cbfbf1f4611218.tar.xz manaplus-72c39aee65ed88c81343c80bd5cbfbf1f4611218.zip |
More fixes for compilation under MacOS.
Add sample make script for fink.
Possible broke support for dmg images.
Diffstat (limited to 'src/utils/gettext.h')
-rw-r--r-- | src/utils/gettext.h | 10 |
1 files changed, 1 insertions, 9 deletions
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 <char*>(s)) #define _(s) (const_cast <char*>(s)) #define N_(s) (const_cast <char*>(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 <char*>(s1)) #endif |