use C isalnum instead of C++ std::isalnum

This commit is contained in:
Maxime Coste 2013-07-15 13:49:50 +01:00
parent ee2d18df04
commit 8ab7496058

View File

@ -2,7 +2,7 @@
#define unicode_hh_INCLUDED
#include <cstdint>
#include <locale>
#include <ctype.h>
namespace Kakoune
{
@ -11,7 +11,7 @@ using Codepoint = uint32_t;
inline bool is_word(Codepoint c)
{
return c == '_' or std::isalnum((wchar_t)c, std::locale());
return c == '_' or isalnum(c);
}
inline bool is_eol(Codepoint c)