aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-11-01 16:25:28 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-11-01 16:25:28 -0700
commitfa588db1484b0c2a410b72f53fee3ccfbc36384d (patch)
treeca9dd2357c0225269d3ea705984808d2c1cfccfb /common.h
parent851f0bcfb36ee820d09b5b12e3ec06c961a51529 (diff)
Fix to swallow BOMs in sourced files
Fixes #1518
Diffstat (limited to 'common.h')
-rw-r--r--common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.h b/common.h
index 5c462974..4eb17bf0 100644
--- a/common.h
+++ b/common.h
@@ -59,6 +59,9 @@ typedef std::vector<wcstring> wcstring_list_t;
*/
#define BYTE_MAX 0xffu
+/** BOM value */
+#define UTF8_BOM_WCHAR 0xFEFFu
+
/* Flags for unescape_string functions */
enum
{