From 0e3bceebc2022abf4e092a3e4c7e2768af27c34e Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Wed, 5 Jan 2000 19:50:22 +0000 Subject: zsh-3.1.6-dev-14 --- Src/zsh.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'Src/zsh.h') diff --git a/Src/zsh.h b/Src/zsh.h index 2ae640a20..5c40cb945 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -1559,8 +1559,19 @@ struct heap { size_t size; /* size of heap */ size_t used; /* bytes used from the heap */ struct heapstack *sp; /* used by pushheap() to save the value used */ + +/* Uncomment the following if the struct needs padding to 64-bit size. */ +/* Make sure sizeof(heap) is a multiple of 8 +#if defined(PAD_64_BIT) && !defined(__GNUC__) + size_t dummy; +#endif +*/ #define arena(X) ((char *) (X) + sizeof(struct heap)) -}; +} +#if defined(PAD_64_BIT) && defined(__GNUC__) + __attribute__ ((aligned (8))) +#endif +; #ifndef DEBUG # define HEAPALLOC do { int nonlocal_useheap = global_heapalloc(); do -- cgit 1.4.1