diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-15 23:42:58 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-05-15 23:42:58 +0000 |
commit | 3c67ba63fe49eb98772c621befa986b0e8ec6bbc (patch) | |
tree | e6ad5341787fa143c7cb10c7384c960aecfa1ede /libiberty/atexit.c | |
parent | c86d77718da96c49f4ebb62ced265932245cbd3a (diff) | |
download | ppe42-gcc-3c67ba63fe49eb98772c621befa986b0e8ec6bbc.tar.gz ppe42-gcc-3c67ba63fe49eb98772c621befa986b0e8ec6bbc.zip |
Update from Cygnus libiberty.
libiberty uses autoconf now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19791 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/atexit.c')
-rw-r--r-- | libiberty/atexit.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/atexit.c b/libiberty/atexit.c index 4463cb69501..137d985e4cb 100644 --- a/libiberty/atexit.c +++ b/libiberty/atexit.c @@ -1,7 +1,10 @@ /* Wrapper to implement ANSI C's atexit using SunOS's on_exit. */ /* This function is in the public domain. --Mike Stump. */ -#ifndef NEED_on_exit +#include "config.h" + +#ifdef HAVE_ON_EXIT + int atexit(f) void (*f)(); @@ -11,4 +14,5 @@ atexit(f) on_exit (f, 0); return 0; } + #endif |