aboutsummaryrefslogtreecommitdiff
path: root/src/unicode.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-09-27 15:28:44 +0100
committerGinger Bill <bill@gingerbill.org>2016-09-27 15:28:44 +0100
commitb59333294204fd3e298483aea09bc4fab589de94 (patch)
tree121982b60135ab503653b592f20b7df0e5893f50 /src/unicode.cpp
parent349badcf177a618f30949bb0b273fdc19ce95abe (diff)
Minimal Dependency Map: Only build what is needed
Diffstat (limited to 'src/unicode.cpp')
-rw-r--r--src/unicode.cpp8
1 files changed, 4 insertions, 4 deletions
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)) {