Skip to content

Commit

Permalink
chore: remove obsolete foreign import on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed May 31, 2024
1 parent fc873d7 commit 2e8863b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webui.odin
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ import "core:time"

when ODIN_DEBUG {
when ODIN_OS == .Windows {
foreign import webui {"webui/debug/webui-2-static.lib", "webui/debug/webui-2-static.lib", "system:Ws2_32.lib", "system:Ole32.lib", "system:Advapi32.lib", "system:User32.lib", "system:Shell32.lib"}
foreign import webui {"webui/debug/webui-2-static.lib", "system:Ws2_32.lib", "system:Ole32.lib", "system:Advapi32.lib", "system:User32.lib", "system:Shell32.lib"}
} else {
foreign import webui "webui/debug/libwebui-2-static.a"
}
} else {
when ODIN_OS == .Windows {
foreign import webui {"webui/webui-2-static.lib", "webui/webui-2-static.lib", "system:Ws2_32.lib", "system:Ole32.lib", "system:Advapi32.lib", "system:User32.lib", "system:Shell32.lib"}
foreign import webui {"webui/webui-2-static.lib", "system:Ws2_32.lib", "system:Ole32.lib", "system:Advapi32.lib", "system:User32.lib", "system:Shell32.lib"}
} else {
foreign import webui "webui/libwebui-2-static.a"
}
Expand Down

0 comments on commit 2e8863b

Please sign in to comment.