mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 08:46:19 +00:00
Another hack to make the eclipse-cdt parser happy.
This one is rather ugly, I hope there is a better solution.
This commit is contained in:
parent
b1826e2a55
commit
afd7b481ef
@ -49,6 +49,11 @@ const char* dsgettext(const char * domainname, const char *msgid);
|
||||
const char* sngettext(const char *singular, const char *plural, int n);
|
||||
const char* dsngettext(const char * domainname, const char *singular, const char *plural, int n);
|
||||
|
||||
//A Hack to make the eclipse-cdt parser happy.
|
||||
#ifdef __CDT_PARSER__
|
||||
#define GETTEXT_DOMAIN ""
|
||||
#endif
|
||||
|
||||
#ifdef GETTEXT_DOMAIN
|
||||
# define _(String) dsgettext(GETTEXT_DOMAIN,String)
|
||||
# define _n(String1,String2,Int) dsngettext(String1,String2,Int)
|
||||
|
Loading…
x
Reference in New Issue
Block a user