mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 07:03:06 +00:00
[CRT] Remove duplicated atexit/onexit code
This removes the broken wine version of atexit and onexit. It keeps only dllonexit, which is implemented properly. The previous __call_atexit is moved to where the mingw onexit/atexit code is and adjusts it to work with the existing code. A call to __call_atexit is added in __tmainCRTStartup after the main function was called.
This commit is contained in:
parent
d685dcee9b
commit
2c791cdde7
4 changed files with 37 additions and 69 deletions
|
@ -197,7 +197,7 @@ list(APPEND CRT_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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue