diff options
Diffstat (limited to 'newlib/libc/stdlib/cxa_finalize.c')
-rw-r--r-- | newlib/libc/stdlib/cxa_finalize.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/stdlib/cxa_finalize.c b/newlib/libc/stdlib/cxa_finalize.c index 17d0526..9bdbed7 100644 --- a/newlib/libc/stdlib/cxa_finalize.c +++ b/newlib/libc/stdlib/cxa_finalize.c @@ -7,6 +7,8 @@ #include <reent.h> #include "atexit.h" +#ifdef __REENT_HAS_CXA_SUPPORT + /* * Call registered exit handlers. If D is null then all handlers are called, * otherwise only the handlers from that DSO are called. @@ -18,3 +20,5 @@ _DEFUN (__cxa_finalize, (d), { __call_exitprocs (0, d); } + +#endif /* __REENT_HAS_CXA_SUPPORT */ |