diff options
Diffstat (limited to 'libc/stdlib/atexit.c')
-rw-r--r-- | libc/stdlib/atexit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/stdlib/atexit.c b/libc/stdlib/atexit.c index 4ba2177..f4bcab9 100644 --- a/libc/stdlib/atexit.c +++ b/libc/stdlib/atexit.c @@ -104,6 +104,7 @@ unlock: return (ret); } +#ifdef CRT_LEGACY_WORKAROUND /* * Register a function to be performed at exit. */ @@ -112,6 +113,7 @@ atexit(void (*func)(void)) { return (__cxa_atexit((void (*)(void *))func, NULL, NULL)); } +#endif /* * Call all handlers registered with __cxa_atexit() for the shared |