From 279c3a6961c60252f0368fdea889caf977f85fe0 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 13 May 2019 16:17:21 -0300 Subject: A few changes in tests about number of bits in integers - The preprocessor must work with at least 'long', and therefore must do shifts of up to 31 bits correctly. - Whenever possible, use unsigned types in shifts. --- llimits.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'llimits.h') diff --git a/llimits.h b/llimits.h index 950e7e64..2b52c83b 100644 --- a/llimits.h +++ b/llimits.h @@ -15,10 +15,6 @@ #include "lua.h" -/* minimum number of bits in an integer */ -#define LUAI_BITSINT (LUAI_IS32INT ? 32 : 16) - - /* ** 'lu_mem' and 'l_mem' are unsigned/signed integers big enough to count ** the total memory used by Lua (in bytes). Usually, 'size_t' and -- cgit v1.2.3-55-g6feb