Explorar o código

vendor: botan: simplify foreign import

Sébastien Marie %!s(int64=3) %!d(string=hai) anos
pai
achega
2ca2b32dd0
Modificáronse 1 ficheiros con 1 adicións e 5 borrados
  1. 1 5
      vendor/botan/bindings/botan.odin

+ 1 - 5
vendor/botan/bindings/botan.odin

@@ -142,11 +142,7 @@ fpe_t                :: ^fpe_struct
 
 when ODIN_OS == .Windows {
     foreign import botan_lib "botan.lib"
-} else when ODIN_OS == .Linux {
-    foreign import botan_lib "system:botan-2"
-} else when ODIN_OS == .Darwin {
-    foreign import botan_lib "system:botan-2"
-} else when ODIN_OS == .OpenBSD {
+} else {
     foreign import botan_lib "system:botan-2"
 }