mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
larger alignment requirement helps to uncover some kinds of bugs
This commit is contained in:
parent
e23da9edee
commit
df802dc74b
1 changed files with 6 additions and 1 deletions
7
ltests.h
7
ltests.h
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: ltests.h,v 2.22 2008/07/11 17:51:01 roberto Exp roberto $
|
||||
** $Id: ltests.h,v 2.23 2008/07/18 19:58:10 roberto Exp roberto $
|
||||
** Internal Header for Debugging of the Lua Implementation
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -85,4 +85,9 @@ int luaB_opentests (lua_State *L);
|
|||
#define LUAL_BUFFERSIZE 23
|
||||
#define MINSTRTABSIZE 2
|
||||
|
||||
|
||||
#undef LUAI_USER_ALIGNMENT_T
|
||||
#define LUAI_USER_ALIGNMENT_T union { char b[32]; }
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue