diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-05 19:50:22 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-01-05 19:50:22 +0000 |
commit | 0e3bceebc2022abf4e092a3e4c7e2768af27c34e (patch) | |
tree | 3f517ff84684d21e1efd28b633d82e6d3229bd07 /Src/zsh.h | |
parent | 43822598ab8f28096ab8a01b487ce6603e4726ce (diff) | |
download | zsh-0e3bceebc2022abf4e092a3e4c7e2768af27c34e.tar.gz zsh-0e3bceebc2022abf4e092a3e4c7e2768af27c34e.tar.xz zsh-0e3bceebc2022abf4e092a3e4c7e2768af27c34e.zip |
zsh-3.1.6-dev-14 zsh-3.1.6-dev-14
Diffstat (limited to 'Src/zsh.h')
-rw-r--r-- | Src/zsh.h | 13 |
1 files changed, 12 insertions, 1 deletions
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 |