diff options
Diffstat (limited to 'newlib/libc/stdlib/cxa_atexit.c')
-rw-r--r-- | newlib/libc/stdlib/cxa_atexit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/libc/stdlib/cxa_atexit.c b/newlib/libc/stdlib/cxa_atexit.c index 8c39236..9b73372 100644 --- a/newlib/libc/stdlib/cxa_atexit.c +++ b/newlib/libc/stdlib/cxa_atexit.c @@ -8,6 +8,7 @@ #include <sys/lock.h> #include "atexit.h" +#ifdef __REENT_HAS_CXA_SUPPORT /* * Register a function to be performed at exit or DSO unload. */ @@ -21,3 +22,5 @@ _DEFUN (__cxa_atexit, { return __register_exitproc (__et_cxa, (void (*)(void)) fn, arg, d); } + +#endif /* __REENT_HAS_CXA_SUPPORT */ |