Get Odin compiling and produced exe's running on FreeBSD

This commit is contained in:
Christian Seibold
2020-09-14 15:22:35 -05:00
parent ac126a8cd7
commit 577be4a8ae
12 changed files with 557 additions and 11 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
// +build linux, darwin
// +build linux, darwin, freebsd
package dynlib
import "core:os"
@@ -18,4 +18,4 @@ symbol_address :: proc(library: Library, symbol: string) -> (ptr: rawptr, found:
ptr = os.dlsym(rawptr(library), symbol);
found = ptr != nil;
return;
}
}