From c4513e24575bc729d23f1619e60fc14834c0913c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Sun, 24 Jul 2011 09:05:47 +0000 Subject: [PATCH] [MSVCRTEX] - aply 52828 as well svn path=/trunk/; revision=52829 --- reactos/lib/sdk/crt/msvcrtex.cmake | 2 +- reactos/lib/sdk/crt/startup/crtexe.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/reactos/lib/sdk/crt/msvcrtex.cmake b/reactos/lib/sdk/crt/msvcrtex.cmake index 9099448f55e..070e8dae4da 100644 --- a/reactos/lib/sdk/crt/msvcrtex.cmake +++ b/reactos/lib/sdk/crt/msvcrtex.cmake @@ -17,7 +17,7 @@ list(APPEND MSVCRTEX_SOURCE startup/natstart.c startup/charmax.c startup/merr.c - startup/atonexit.c +# startup/atonexit.c startup/txtmode.c startup/pesect.c startup/tlsmcrt.c diff --git a/reactos/lib/sdk/crt/startup/crtexe.c b/reactos/lib/sdk/crt/startup/crtexe.c index 8d15e29ebc3..cf1b79e007c 100644 --- a/reactos/lib/sdk/crt/startup/crtexe.c +++ b/reactos/lib/sdk/crt/startup/crtexe.c @@ -75,8 +75,8 @@ extern _CRTALLOC(".CRT$XCZ") _PVFV __xc_z[]; /* TLS initialization hook. */ extern const PIMAGE_TLS_CALLBACK __dyn_tls_init_callback; -extern _PVFV *__onexitbegin; -extern _PVFV *__onexitend; +//extern _PVFV *__onexitbegin; +//extern _PVFV *__onexitend; extern int mingw_app_type; @@ -128,7 +128,7 @@ pre_c_init (void) __set_app_type(_GUI_APP); else __set_app_type (_CONSOLE_APP); - __onexitbegin = __onexitend = (_PVFV *) _encode_pointer ((_PVFV *)(-1)); +// __onexitbegin = __onexitend = (_PVFV *) _encode_pointer ((_PVFV *)(-1)); * __MINGW_IMP_SYMBOL(_fmode) = _fmode; * __MINGW_IMP_SYMBOL(_commode) = _commode;