squash! DRAFT x86_64: build: Cater for M2-Planet.

This commit is contained in:
Jan (janneke) Nieuwenhuizen 2022-05-07 14:50:18 +02:00 committed by Janneke Nieuwenhuizen
parent 87471ffeef
commit ef2a43d96e
2 changed files with 2 additions and 10 deletions

View File

@ -41,11 +41,7 @@
for that by multiplying with M2_PTR_SIZE when using (char)
pointers. */
#if __M2__
#if __x86_64__
#define M2_PTR_SIZE 8
#else
#define M2_PTR_SIZE 4
#endif
#define M2_PTR_SIZE sizeof (void*)
#else
#define M2_PTR_SIZE 1
#endif

View File

@ -57,11 +57,7 @@ struct scm
for that by multiplying with M2_CELL_SIZE when using cell
pointers. */
#if __M2__
#if __x86_64__
#define M2_CELL_SIZE 24
#else
#define M2_CELL_SIZE 12
#endif
#define M2_CELL_SIZE sizeof (struct scm)
#else
#define M2_CELL_SIZE 1
#endif