squash! DRAFT x86_64: build: Cater for M2-Planet.
This commit is contained in:
parent
b68437b0ce
commit
5291f5917b
|
@ -41,11 +41,7 @@
|
||||||
for that by multiplying with M2_PTR_SIZE when using (char)
|
for that by multiplying with M2_PTR_SIZE when using (char)
|
||||||
pointers. */
|
pointers. */
|
||||||
#if __M2__
|
#if __M2__
|
||||||
#if __x86_64__
|
#define M2_PTR_SIZE sizeof (void*)
|
||||||
#define M2_PTR_SIZE 8
|
|
||||||
#else
|
|
||||||
#define M2_PTR_SIZE 4
|
|
||||||
#endif
|
|
||||||
#else
|
#else
|
||||||
#define M2_PTR_SIZE 1
|
#define M2_PTR_SIZE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -57,11 +57,7 @@ struct scm
|
||||||
for that by multiplying with M2_CELL_SIZE when using cell
|
for that by multiplying with M2_CELL_SIZE when using cell
|
||||||
pointers. */
|
pointers. */
|
||||||
#if __M2__
|
#if __M2__
|
||||||
#if __x86_64__
|
#define M2_CELL_SIZE sizeof (struct scm)
|
||||||
#define M2_CELL_SIZE 24
|
|
||||||
#else
|
|
||||||
#define M2_CELL_SIZE 12
|
|
||||||
#endif
|
|
||||||
#else
|
#else
|
||||||
#define M2_CELL_SIZE 1
|
#define M2_CELL_SIZE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue