From 8ab74960586e564b2a1849107c5ad298d7a2083a Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 15 Jul 2013 13:49:50 +0100 Subject: [PATCH] use C isalnum instead of C++ std::isalnum --- src/unicode.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unicode.hh b/src/unicode.hh index 4b783dde..db2d1e88 100644 --- a/src/unicode.hh +++ b/src/unicode.hh @@ -2,7 +2,7 @@ #define unicode_hh_INCLUDED #include -#include +#include 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)