From f8c447e694f022cfa65ae807677b2ddfa02b99e6 Mon Sep 17 00:00:00 2001 From: Judah Caruso Date: Sat, 2 Dec 2023 19:20:51 -0700 Subject: [PATCH] Fix runtime build failing on darwin; update gitignore --- .gitignore | 2 ++ runtime/onyx_runtime.c | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index f161288c..1fd5a472 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,5 @@ bin/onyx releases/ compiler/onyx runtime/onyx_runtime.so +runtime/onyx_runtime.dylib +runtime/onyx_runtime.dll diff --git a/runtime/onyx_runtime.c b/runtime/onyx_runtime.c index 799aa82e..1107fc49 100644 --- a/runtime/onyx_runtime.c +++ b/runtime/onyx_runtime.c @@ -29,6 +29,10 @@ #include #endif +#if defined(_BH_DARWIN) + #include +#endif + #include "types.h" // For POINTER_SIZE #include "src/ort_files.h" -- 2.25.1