comment out atexit

svn path=/branches/ros-amd64-bringup/; revision=38477
This commit is contained in:
Timo Kreuzer 2008-12-30 20:48:35 +00:00
parent 479377dfd0
commit 58afe72aa3

View file

@ -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