#if (defined __APPLE__ && defined __MACH__) || defined _WIN32 || defined 
__WIN32__ || defined __CYGWIN__

#undef setlocale
#define setlocale libintl_setlocale

Lets make it more complicated... 
It is not a problem on mac, because we do not use setlocale at all :)
The point I was trying to make is
I. remove setlocale before setlocale is somewhere inside the source
II. Just #undef setlocale and have 50% less code
-- 
https://code.launchpad.net/~tino79/widelands/gettext018/+merge/83220
Your team Widelands Developers is requested to review the proposed merge of 
lp:~tino79/widelands/gettext018 into lp:widelands.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : widelands-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to