aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2008-08-05 16:24:46 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2008-08-05 16:24:46 -0300
commitdf802dc74b12f0cdee1df0ec119a21022a94545a (patch)
treef127367d82e680e662b40a1b25eca318abcd2d9e
parente23da9edee5034dd62d09f44cd2e9a8a3e32dedd (diff)
downloadlua-df802dc74b12f0cdee1df0ec119a21022a94545a.tar.gz
lua-df802dc74b12f0cdee1df0ec119a21022a94545a.tar.bz2
lua-df802dc74b12f0cdee1df0ec119a21022a94545a.zip
larger alignment requirement helps to uncover some kinds of bugs
-rw-r--r--ltests.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ltests.h b/ltests.h
index eeccae6c..180d067b 100644
--- a/ltests.h
+++ b/ltests.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.h,v 2.22 2008/07/11 17:51:01 roberto Exp roberto $ 2** $Id: ltests.h,v 2.23 2008/07/18 19:58:10 roberto Exp roberto $
3** Internal Header for Debugging of the Lua Implementation 3** Internal Header for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -85,4 +85,9 @@ int luaB_opentests (lua_State *L);
85#define LUAL_BUFFERSIZE 23 85#define LUAL_BUFFERSIZE 23
86#define MINSTRTABSIZE 2 86#define MINSTRTABSIZE 2
87 87
88
89#undef LUAI_USER_ALIGNMENT_T
90#define LUAI_USER_ALIGNMENT_T union { char b[32]; }
91
92
88#endif 93#endif