mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
Some improvements in 'luaconf.h'
Added '#if !defined' in some definitions to allow external definitions; more comments; other small changes.
This commit is contained in:
parent
d881325c2f
commit
49c42f3615
3 changed files with 65 additions and 36 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue