summaryrefslogtreecommitdiff
path: root/ltests.h
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 /ltests.h
parente23da9edee5034dd62d09f44cd2e9a8a3e32dedd (diff)
downloadlua-github-df802dc74b12f0cdee1df0ec119a21022a94545a.tar.gz
larger alignment requirement helps to uncover some kinds of bugs
Diffstat (limited to 'ltests.h')
-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 @@
/*
-** $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