mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-31 11:50:07 +00:00
Generalize the foreign import for unsupported platforms
This commit is contained in:
Vendored
+1
-1
@@ -12,7 +12,7 @@ when ODIN_OS == .Windows {
|
||||
} else when ODIN_OS == .Linux {
|
||||
foreign import lib "linux/liblua5.1.a"
|
||||
} else {
|
||||
#panic(`Unsupported platform of "vendor:lua/5.1"`)
|
||||
foreign import lib "system:liblua5.1.a"
|
||||
}
|
||||
|
||||
VERSION :: "Lua 5.1"
|
||||
|
||||
Reference in New Issue
Block a user