- Timestamp:
- Sep 21, 2020 11:54:23 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/machdep.h
r1233 r3482 40 40 */ 41 41 42 #ifdef _MSC_VER 43 #define SHELL_SIZE (8 - 1) 42 /* For the purposes of the allocation stack(s), this is nonsensical given 43 that struct stack_block does not align the 'space' member accordingly. 44 That member will be aligned according to the pointer size, so we 45 should do the same here and not mix in any 'double' nonsense: */ 46 #if 0 47 #define SHELL_SIZE (sizeof(union {int i; char *cp; double d; }) - 1) 44 48 #else 45 #define SHELL_SIZE (sizeof( union {int i; char *cp; double d; }) - 1)49 #define SHELL_SIZE (sizeof(void *) - 1) 46 50 #endif 47 51
Note:
See TracChangeset
for help on using the changeset viewer.