aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/Lexer.mll
diff options
context:
space:
mode:
Diffstat (limited to 'cparser/Lexer.mll')
-rw-r--r--cparser/Lexer.mll2
1 files changed, 1 insertions, 1 deletions
diff --git a/cparser/Lexer.mll b/cparser/Lexer.mll
index 2efa4216..95374afe 100644
--- a/cparser/Lexer.mll
+++ b/cparser/Lexer.mll
@@ -241,7 +241,7 @@ let add_char enc c accu =
| Chr x, Cabs.EncU32 -> (* Characters are not encoded *)
Int64.of_int x :: accu
| Chr x, Cabs.EncWide -> (* Depends on size of wchar_t *)
- if Machine.(!config.sizeof_wchar) = 2
+ if Cutil.sizeof_ikind (Cutil.wchar_ikind ()) = 2
then add_char_utf16 x accu
else Int64.of_int x :: accu
}