aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhibog <zhibog-github@web.de>2022-02-22 20:10:35 +0100
committerzhibog <zhibog-github@web.de>2022-02-22 20:10:35 +0100
commitcdecb0ccc3bfc260bd34dce5f76c6238decaa0ef (patch)
treef70573b7aa066233668a3c6e2623b866f9373b83
parent460b5149af14bd700b188d3b398786b3081f2159 (diff)
Fix Odin_OS_Type
-rw-r--r--vendor/botan/bindings/botan.odin8
1 files changed, 4 insertions, 4 deletions
diff --git a/vendor/botan/bindings/botan.odin b/vendor/botan/bindings/botan.odin
index 74461871e..70311523d 100644
--- a/vendor/botan/bindings/botan.odin
+++ b/vendor/botan/bindings/botan.odin
@@ -140,11 +140,11 @@ totp_t :: ^totp_struct
fpe_struct :: struct{}
fpe_t :: ^fpe_struct
-when ODIN_OS == "windows" {
+when ODIN_OS == .Windows {
foreign import botan_lib "botan.lib"
-} else when ODIN_OS == "linux" {
+} else when ODIN_OS == .Linux {
foreign import botan_lib "system:botan-2"
-} else when ODIN_OS == "darwin" {
+} else when ODIN_OS == .Darwin {
foreign import botan_lib "system:botan-2"
}
@@ -471,4 +471,4 @@ foreign botan_lib {
fpe_destroy :: proc(fpe: fpe_t) -> c.int ---
fpe_encrypt :: proc(fpe: fpe_t, x: mp_t, tweak: ^c.char, tweak_len: c.size_t) -> c.int ---
fpe_decrypt :: proc(fpe: fpe_t, x: mp_t, tweak: ^c.char, tweak_len: c.size_t) -> c.int ---
-}
+} \ No newline at end of file