From 4c88e1ab5e346222de243813b677ee057f3e400c Mon Sep 17 00:00:00 2001 From: rjkiv <76180273+rjkiv@users.noreply.github.com> Date: Sun, 27 Jul 2025 12:05:34 -0700 Subject: [PATCH] make the winentry a winfunc --- dll/msvcrt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dll/msvcrt.cpp b/dll/msvcrt.cpp index 4a4887a..70fc370 100644 --- a/dll/msvcrt.cpp +++ b/dll/msvcrt.cpp @@ -18,7 +18,7 @@ namespace msvcrt { return &_commode; } - int WIN_ENTRY _initterm_e(const _PIFV *ppfn, const _PIFV *end) { + int WIN_FUNC _initterm_e(const _PIFV *ppfn, const _PIFV *end) { do { if (_PIFV pfn = *++ppfn) { if (int err = pfn())