aboutsummaryrefslogtreecommitdiff
path: root/runtime/src/std.h
blob: 39ea6046a258bf4611c657ab726d939eb16c9b27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef SHED_STD_H
#define SHED_STD_H

#include <stdint.h>

#ifdef __WASM__
typedef uint32_t size_t;
typedef int32_t ssize_t;
#define NULL 0
#else
#include <unistd.h>
#endif

#endif