Fixed compilation errors, but code still crashes on VS ... work in progres!!!!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7511 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
79dda5fdee
commit
cb1342e449
@ -32,8 +32,13 @@
|
||||
# include <libintl.h>
|
||||
# endif
|
||||
|
||||
#ifdef WIN32
|
||||
# define _(String, ...) (translations->fribidize(StringUtils::insertValues(translations->w_gettext(String), ##__VA_ARGS__)))
|
||||
# define _LTR(String, ...) (StringUtils::insertValues(translations->w_gettext(String), ##__VA_ARGS__))
|
||||
#else
|
||||
# define _(String, args...) (translations->fribidize(StringUtils::insertValues(translations->w_gettext(String), ##args)))
|
||||
# define _LTR(String, args...) (StringUtils::insertValues(translations->w_gettext(String), ##args))
|
||||
#endif
|
||||
# define gettext_noop(String) (String)
|
||||
# define N_(String) (gettext_noop (String))
|
||||
// libintl defines its own fprintf, which doesn't work properly
|
||||
|
Loading…
Reference in New Issue
Block a user