aboutsummaryrefslogtreecommitdiff
path: root/src/stubs/bcryptprimitives.c
diff options
context:
space:
mode:
authorGravatar Michael Smith <mikesmiffy128@gmail.com> 2024-10-01 20:45:38 +0100
committerGravatar Michael Smith <mikesmiffy128@gmail.com> 2024-10-01 20:45:38 +0100
commitd86b7b41453c69b3854baa7cdc05a79a3cdfe092 (patch)
tree2e35bb29eb1af9ee712cc2fc508b493d80965c10 /src/stubs/bcryptprimitives.c
parent535a269761c761f22f003feaef11d619637019df (diff)
downloadsst-d86b7b41453c69b3854baa7cdc05a79a3cdfe092.tar.gz
sst-d86b7b41453c69b3854baa7cdc05a79a3cdfe092.zip
Lowercase the stupid file, Windows. ARGH.
Actually kind of Neovim's fault, I think. Whatever.
Diffstat (limited to 'src/stubs/bcryptprimitives.c')
-rw-r--r--src/stubs/bcryptprimitives.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stubs/bcryptprimitives.c b/src/stubs/bcryptprimitives.c
new file mode 100644
index 0000000..afcaa7e
--- /dev/null
+++ b/src/stubs/bcryptprimitives.c
@@ -0,0 +1,6 @@
+/* This file is dedicated to the public domain. */
+
+// We have to define a real function with the right number of arguments to get
+// the mangled symbol _ProcessPrng@8, which the .def file apparently turns
+// into an "undecorate" .lib entry through some undocumented magic (of course!).
+int __stdcall ProcessPrng(void *x, unsigned int y) { return 0; }