mirror of
https://github.com/reactos/reactos.git
synced 2024-11-05 22:26:39 +00:00
comment out atexit
svn path=/branches/ros-amd64-bringup/; revision=38477
This commit is contained in:
parent
479377dfd0
commit
58afe72aa3
1 changed files with 2 additions and 0 deletions
2
reactos/lib/3rdparty/mingw/atonexit.c
vendored
2
reactos/lib/3rdparty/mingw/atonexit.c
vendored
|
@ -20,6 +20,7 @@ _PVFV *__onexitend;
|
||||||
extern _CRTIMP _onexit_t __dllonexit (_onexit_t, _PVFV**, _PVFV**);
|
extern _CRTIMP _onexit_t __dllonexit (_onexit_t, _PVFV**, _PVFV**);
|
||||||
extern _onexit_t (__cdecl *_imp___onexit) (_onexit_t func);
|
extern _onexit_t (__cdecl *_imp___onexit) (_onexit_t func);
|
||||||
|
|
||||||
|
#if 0
|
||||||
/* Choose a different name to prevent name conflicts. The CRT one works fine. */
|
/* Choose a different name to prevent name conflicts. The CRT one works fine. */
|
||||||
_onexit_t __cdecl mingw_onexit(_onexit_t func)
|
_onexit_t __cdecl mingw_onexit(_onexit_t func)
|
||||||
{
|
{
|
||||||
|
@ -48,3 +49,4 @@ atexit (_PVFV func)
|
||||||
{
|
{
|
||||||
return (mingw_onexit((_onexit_t)func) == NULL) ? -1 : 0;
|
return (mingw_onexit((_onexit_t)func) == NULL) ? -1 : 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue