Get Odin compiling and produced exe's running on FreeBSD
This commit is contained in:
1 parent
ac126a8cd7
commit
577be4a8ae
12 files changed
+557
-11
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user