initial pass at simulator support

This commit is contained in:
joeycastillo
2024-10-06 17:14:46 -04:00
parent ffaf6f9fff
commit 63c34005ee
11 changed files with 91 additions and 186 deletions

View File

@@ -35,6 +35,12 @@
#if __EMSCRIPTEN__
#include <emscripten.h>
#define min(a,b) \
({ __typeof__ (a) _a = (a); \
__typeof__ (b) _b = (b); \
_a < _b ? _a : _b; })
#endif
#include "watch.h"