Signed-off-by: Martin Storsjö <mar...@martin.st> --- mingw-w64-crt/crt/crtdll.c | 2 ++ mingw-w64-crt/crt/crtexe.c | 2 ++ 2 files changed, 4 insertions(+)
diff --git a/mingw-w64-crt/crt/crtdll.c b/mingw-w64-crt/crt/crtdll.c index 50a9eb4..5f53602 100644 --- a/mingw-w64-crt/crt/crtdll.c +++ b/mingw-w64-crt/crt/crtdll.c @@ -210,3 +210,5 @@ int __cdecl atexit (_PVFV func) { return _register_onexit_function(&atexit_table, (_onexit_t)func); } + +char __mingw_module_is_dll = 1; diff --git a/mingw-w64-crt/crt/crtexe.c b/mingw-w64-crt/crt/crtexe.c index 7000a19..3f724e5 100644 --- a/mingw-w64-crt/crt/crtexe.c +++ b/mingw-w64-crt/crt/crtexe.c @@ -430,3 +430,5 @@ int __cdecl atexit (_PVFV func) { return _onexit((_onexit_t)func) ? 0 : -1; } + +char __mingw_module_is_dll = 0; -- 2.7.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public