From 9cde230891e87ca08378327a099cbaaaab931db3 Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Mon, 10 Jan 2011 05:51:27 -0500 Subject: [PATCH] Assert wchar_t is Unicode (ISO 10646) --- parse.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/parse.cpp b/parse.cpp index 0aac16e..b56794c 100644 --- a/parse.cpp +++ b/parse.cpp @@ -16,6 +16,10 @@ #include "parser.hpp" +#ifndef __STDC_ISO_10646__ +#error "Must have __STDC_ISO_10646__" +#endif + const size_t buf_size = 1024; class stripstate {