forked from enlightenment/efl
evil: undef setlocale to avoid recursion
Summary: evil_setlocale implementation must not call itself, so it must #undef setlocale to avoid replacing with evil_setlocale. Reviewers: vtorri, jptiz, lucas Reviewed By: vtorri, jptiz Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12184
This commit is contained in:
parent
d6a6dd54a1
commit
e9ee9cc3a0
|
@ -35,6 +35,8 @@
|
|||
*/
|
||||
static char _evil_locale_buf[18];
|
||||
|
||||
#undef setlocale
|
||||
|
||||
char *evil_setlocale(int category, const char *locale)
|
||||
{
|
||||
char buf[9];
|
||||
|
|
Loading…
Reference in New Issue