Skip to content

Commit

Permalink
Adapted to changes in Odin that made ODIN_ARCH an enum
Browse files Browse the repository at this point in the history
  • Loading branch information
jajo-11 committed Apr 6, 2022
1 parent 655c388 commit cd3c419
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bindings.odin
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package tracy
import "core:c"
import "core:os"

when os.OS == "darwin" do foreign import tracy "tracy.dylib"
when os.OS == "windows" do foreign import tracy "tracy.lib"
when os.OS == "linux" do foreign import tracy "tracy.o"
when os.OS == .Darwin do foreign import tracy "tracy.dylib"
when os.OS == .Windows do foreign import tracy "tracy.lib"
when os.OS == .Linux do foreign import tracy "tracy.o"

___tracy_source_location_data :: struct {
name : cstring,
Expand Down

0 comments on commit cd3c419

Please sign in to comment.