aboutsummaryrefslogtreecommitdiff
path: root/runtime/src
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/src')
-rw-r--r--runtime/src/alloc.h2
-rw-r--r--runtime/src/namespaces/Shed/Builtins.c2
-rw-r--r--runtime/src/patio/exceptions.c2
-rw-r--r--runtime/src/patio/patio.h2
-rw-r--r--runtime/src/std/unistd.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/runtime/src/alloc.h b/runtime/src/alloc.h
index 5e92573f..07a14436 100644
--- a/runtime/src/alloc.h
+++ b/runtime/src/alloc.h
@@ -3,7 +3,7 @@
#include "./std/unistd.h"
-#ifdef __WASM__
+#ifdef __wasm__
void* malloc(unsigned long);
void free(void*);
diff --git a/runtime/src/namespaces/Shed/Builtins.c b/runtime/src/namespaces/Shed/Builtins.c
index aa09911c..142a1317 100644
--- a/runtime/src/namespaces/Shed/Builtins.c
+++ b/runtime/src/namespaces/Shed/Builtins.c
@@ -2,7 +2,7 @@
#include "../../shed.h"
-#ifdef __WASM__
+#ifdef __wasm__
typedef struct __wasi_ciovec_t {
uint8_t * buf;
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;
diff --git a/runtime/src/std/unistd.h b/runtime/src/std/unistd.h
index 6a761e6f..8f4dc71a 100644
--- a/runtime/src/std/unistd.h
+++ b/runtime/src/std/unistd.h
@@ -1,7 +1,7 @@
#ifndef SHED_STD_UNISTD_H
#define SHED_STD_UNISTD_H
-#ifdef __WASM__
+#ifdef __wasm__
typedef unsigned long size_t;
typedef long ssize_t;
#ifndef NULL