diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-05-13 14:24:10 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2019-05-13 14:24:10 -0300 |
commit | 49c42f3615bd876657bf697e3bf040ce796ae238 (patch) | |
tree | bb2268fbcd525045b5e9ed523b5dab8a67fc7fe1 /lutf8lib.c | |
parent | d881325c2fcbb6d2c434ec403b0bbe51ac200c7b (diff) | |
download | lua-github-49c42f3615bd876657bf697e3bf040ce796ae238.tar.gz |
Some improvements in 'luaconf.h'
Added '#if !defined' in some definitions to allow external definitions;
more comments; other small changes.
Diffstat (limited to 'lutf8lib.c')
-rw-r--r-- | lutf8lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -28,7 +28,7 @@ /* ** Integer type for decoded UTF-8 values; MAXUTF needs 31 bits. */ -#if LUAI_BITSINT >= 31 +#if ((UINT_MAX >> 15) >> 15) >= 1 typedef unsigned int utfint; #else typedef unsigned long utfint; |