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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user