aboutsummaryrefslogtreecommitdiff
path: root/runtime/src/patio
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-12-27 23:26:14 +0000
committerMichael Williamson <mike@zwobble.org>2023-12-27 23:26:14 +0000
commit6004d0f9bd2f986192fa11a6d1983339ae92d9b0 (patch)
treef5c72e08a28451bfc67fc06b31aab11ba49c8d74 /runtime/src/patio
parent618f4b35a852f8282c395675ab9dac9756b72c22 (diff)
Use builtin wasm macros
Diffstat (limited to 'runtime/src/patio')
-rw-r--r--runtime/src/patio/exceptions.c2
-rw-r--r--runtime/src/patio/patio.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/runtime/src/patio/exceptions.c b/runtime/src/patio/exceptions.c
index e465b4f6..23685d8c 100644
--- a/runtime/src/patio/exceptions.c
+++ b/runtime/src/patio/exceptions.c
@@ -1,4 +1,4 @@
-#ifndef __WASM__
+#ifndef __wasm__
#include <setjmp.h>
#include <stdint.h>
diff --git a/runtime/src/patio/patio.h b/runtime/src/patio/patio.h
index f4bde0dd..fe9f9c05 100644
--- a/runtime/src/patio/patio.h
+++ b/runtime/src/patio/patio.h
@@ -3,7 +3,7 @@
#include <stdint.h>
-#ifdef __WASM32__
+#ifdef __wasm32__
typedef uint32_t PatioInt;
#else
typedef uint64_t PatioInt;