summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/unicode.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/unicode.hh b/src/unicode.hh
index 25408351..30cb8f48 100644
--- a/src/unicode.hh
+++ b/src/unicode.hh
@@ -1,14 +1,12 @@
#ifndef unicode_hh_INCLUDED
#define unicode_hh_INCLUDED
-#include <cstdint>
-#include <ctype.h>
#include <wctype.h>
namespace Kakoune
{
-using Codepoint = uint32_t;
+using Codepoint = char32_t;
inline bool is_eol(Codepoint c)
{