From c1f99aa3622a8a035b4dc539f1df3fbf4ae5743d Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Wed, 8 Jan 2025 19:50:25 +0800 Subject: [PATCH] fixes macos --- lib/std/sysrand.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/sysrand.nim b/lib/std/sysrand.nim index fe9571a30b..9c8768dddb 100644 --- a/lib/std/sysrand.nim +++ b/lib/std/sysrand.nim @@ -238,7 +238,7 @@ elif defined(ios) or defined(macosx): const errSecSuccess = 0 ## No error. type - SecRandom {.importc: "struct __SecRandom".} = object + SecRandom {.importc: "struct __SecRandom", header: "".} = object SecRandomRef = ptr SecRandom ## An abstract Core Foundation-type object containing information about a random number generator.