Update foreign import for OpenEXRCore for non-windows platforms

This commit is contained in:
gingerBill committed 2022-05-04 17:51:36 +01:00
1 parent 173799527a
commit 0cf37bde8b
8 files changed
+41 -8

No files matched your search

+5 -1
View File
@@ -1,6 +1,10 @@
package vendor_openexr
foreign import lib "OpenEXRCore-3_1.lib"
when ODIN_OS == .Windows {
foreign import lib "OpenEXRCore-3_1.lib"
} else {
foreign import lib "system:OpenEXRCore-3_1"
}
import "core:c"