aboutsummaryrefslogtreecommitdiff
path: root/gcc/gbl-ctors.h
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-07-21 18:49:45 +0000
committerRichard Stallman <rms@gnu.org>1992-07-21 18:49:45 +0000
commitd983d652e88d45187f71813b7d4dd30b635bf79a (patch)
treeee923cdff9cd9bf1da24530be2be626fcb493d53 /gcc/gbl-ctors.h
parent4dec0b13b4f2084bf2beb7283193294bb7f546ce (diff)
downloadgcc-d983d652e88d45187f71813b7d4dd30b635bf79a.zip
gcc-d983d652e88d45187f71813b7d4dd30b635bf79a.tar.gz
gcc-d983d652e88d45187f71813b7d4dd30b635bf79a.tar.bz2
entered into RCS
From-SVN: r1654
Diffstat (limited to 'gcc/gbl-ctors.h')
-rw-r--r--gcc/gbl-ctors.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/gbl-ctors.h b/gcc/gbl-ctors.h
index d99f622..13048ce 100644
--- a/gcc/gbl-ctors.h
+++ b/gcc/gbl-ctors.h
@@ -31,13 +31,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
Note that this file should only be compiled with GCC.
*/
-#ifdef sun
-extern void on_exit (void*, void*);
-#define ON_EXIT(FUNC,ARG) on_exit ((FUNC), (ARG))
-#else
#ifdef HAVE_ATEXIT
extern void atexit (void (*) (void));
#define ON_EXIT(FUNC,ARG) atexit ((FUNC))
+#else
+#ifdef sun
+extern void on_exit (void*, void*);
+#define ON_EXIT(FUNC,ARG) on_exit ((FUNC), (ARG))
#endif
#endif