From b59333294204fd3e298483aea09bc4fab589de94 Mon Sep 17 00:00:00 2001 From: Ginger Bill Date: Tue, 27 Sep 2016 15:28:44 +0100 Subject: Minimal Dependency Map: Only build what is needed --- src/unicode.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/unicode.cpp') diff --git a/src/unicode.cpp b/src/unicode.cpp index d8a26924c..a9781d8f7 100644 --- a/src/unicode.cpp +++ b/src/unicode.cpp @@ -1,15 +1,15 @@ #pragma warning(push) #pragma warning(disable: 4245) -#include "utf8proc/utf8proc.h" -// #define UTF8PROC_IMPLEMENTATION -// #include "utf8proc/utf8proc_new.h" +// #include "utf8proc/utf8proc.h" +#include "utf8proc/utf8proc.c" #pragma warning(pop) // TODO(bill): Unicode support b32 rune_is_letter(Rune r) { - if (r < 0x80 && gb_char_is_alpha(cast(char)r) || r == '_') { + if ((r < 0x80 && gb_char_is_alpha(cast(char)r)) || + r == '_') { return true; } switch (utf8proc_category(r)) { -- cgit v1.2.3