mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-30 11:20:08 +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/liblua53.a"
|
||||
} else {
|
||||
#panic(`Unsupported platform of "vendor:lua/5.3"`)
|
||||
foreign import lib "system:liblua53.a"
|
||||
}
|
||||
|
||||
VERSION_MAJOR :: "5"
|
||||
|
||||
Reference in New Issue
Block a user