Fix runtime build failing on darwin; update gitignore
authorJudah Caruso <judah@tuta.io>
Sun, 3 Dec 2023 02:20:51 +0000 (19:20 -0700)
committerJudah Caruso <judah@tuta.io>
Sun, 3 Dec 2023 02:20:51 +0000 (19:20 -0700)
.gitignore
runtime/onyx_runtime.c

index f161288c9c2705dc45883259782215cd45d23b0c..1fd5a472a432ca80fe14d54b817b79bc20e441e7 100644 (file)
@@ -24,3 +24,5 @@ bin/onyx
 releases/
 compiler/onyx
 runtime/onyx_runtime.so
+runtime/onyx_runtime.dylib
+runtime/onyx_runtime.dll
index 799aa82e78372836287d5bc3e612100d3cdc6972..1107fc49ccf846cdd8dc9f5323d5cf06e3e8fe83 100644 (file)
     #include <linux/futex.h>
 #endif
 
+#if defined(_BH_DARWIN)
+    #include <Security/Security.h>
+#endif
+
 #include "types.h"  // For POINTER_SIZE
 
 #include "src/ort_files.h"