summaryrefslogtreecommitdiffstats
path: root/byterun/custom.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/custom.c')
-rw-r--r--byterun/custom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/byterun/custom.c b/byterun/custom.c
index c814f1d6f..30d667f7c 100644
--- a/byterun/custom.c
+++ b/byterun/custom.c
@@ -100,7 +100,7 @@ struct custom_operations * final_custom_operations(final_fun fn)
}
extern struct custom_operations int32_ops, nativeint_ops;
-#if SIZEOF_LONG == 8 || SIZEOF_LONG_LONG == 8
+#ifdef ARCH_INT64_TYPE
extern struct custom_operations int64_ops;
#endif
@@ -108,7 +108,7 @@ void init_custom_operations(void)
{
register_custom_operations(&int32_ops);
register_custom_operations(&nativeint_ops);
-#if SIZEOF_LONG == 8 || SIZEOF_LONG_LONG == 8
+#ifdef ARCH_INT64_TYPE
register_custom_operations(&int64_ops);
#endif
}