summaryrefslogtreecommitdiff
path: root/lmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'lmem.c')
-rw-r--r--lmem.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lmem.c b/lmem.c
index b60285a6..f41d92d5 100644
--- a/lmem.c
+++ b/lmem.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lmem.c,v 1.32 2000/05/31 16:53:30 roberto Exp roberto $ 2** $Id: lmem.c,v 1.33 2000/06/12 13:52:05 roberto Exp roberto $
3** Interface to Memory Manager 3** Interface to Memory Manager
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -47,7 +47,8 @@
47 47
48 48
49/* ensures maximum alignment for HEADER */ 49/* ensures maximum alignment for HEADER */
50#define HEADER (sizeof(union { double d; char *s; long l; })) 50union L_U { double d; char *s; long l; };
51#define HEADER (sizeof(union L_U))
51 52
52#define MARKSIZE 16 53#define MARKSIZE 16
53#define MARK 0x55 /* 01010101 (a nice pattern) */ 54#define MARK 0x55 /* 01010101 (a nice pattern) */