https://git.reactos.org/?p=reactos.git;a=commitdiff;h=80b1b0b2949b1a30eefa0…
commit 80b1b0b2949b1a30eefa009d63a49b050a082a32
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Tue Jan 5 18:33:52 2021 +0100
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Tue Jan 5 19:24:23 2021 +0100
[CRT] Fix hack for GCC x64, when CRT is linking against RosBE libstdc++
---
sdk/lib/crt/stdio/acrt_iob_func.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sdk/lib/crt/stdio/acrt_iob_func.c b/sdk/lib/crt/stdio/acrt_iob_func.c
index 223ea36b5fa..e92b7e813b0 100644
--- a/sdk/lib/crt/stdio/acrt_iob_func.c
+++ b/sdk/lib/crt/stdio/acrt_iob_func.c
@@ -19,6 +19,10 @@ FILE * CDECL __acrt_iob_func(int index)
return &__iob_func()[index];
}
+#ifdef WIN64
+const void* __imp___acrt_iob_func = __acrt_iob_func;
+#else
const void* _imp____acrt_iob_func = __acrt_iob_func;
+#endif
#endif