projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f60b3b2
)
Fix runtime build failing on darwin; update gitignore
author
Judah Caruso
<judah@tuta.io>
Sun, 3 Dec 2023 02:20:51 +0000
(19:20 -0700)
committer
Judah Caruso
<judah@tuta.io>
Sun, 3 Dec 2023 02:20:51 +0000
(19:20 -0700)
.gitignore
patch
|
blob
|
history
runtime/onyx_runtime.c
patch
|
blob
|
history
diff --git
a/.gitignore
b/.gitignore
index f161288c9c2705dc45883259782215cd45d23b0c..1fd5a472a432ca80fe14d54b817b79bc20e441e7 100644
(file)
--- 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 799aa82e78372836287d5bc3e612100d3cdc6972..1107fc49ccf846cdd8dc9f5323d5cf06e3e8fe83 100644
(file)
--- a/
runtime/onyx_runtime.c
+++ b/
runtime/onyx_runtime.c
@@
-29,6
+29,10
@@
#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"