mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
23 lines
613 B
Diff
23 lines
613 B
Diff
--- libs/std/sys.c.orig 2019-10-24 12:51:25.000000000 -0500
|
|
+++ libs/std/sys.c 2020-07-08 19:29:03.000000000 -0500
|
|
@@ -218,7 +218,7 @@
|
|
</doc>
|
|
**/
|
|
static value sys_is64() {
|
|
-#ifdef NEKO_64BITS
|
|
+#ifdef __LP64__
|
|
return val_true;
|
|
#else
|
|
return val_false;
|
|
--- vm/module.c.orig 2019-10-24 12:51:25.000000000 -0500
|
|
+++ vm/module.c 2020-07-08 19:29:03.000000000 -0500
|
|
@@ -50,7 +50,7 @@
|
|
#define ERROR() { free(tmp); return NULL; }
|
|
#define READ(buf,len) if( r(p,buf,len) == -1 ) ERROR()
|
|
|
|
-#ifdef NEKO_64BITS
|
|
+#ifdef __LP64__
|
|
|
|
static void read_long( reader r, readp p, unsigned int *i ) {
|
|
unsigned char c[4];
|