projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4dec0b1
)
entered into RCS
author
Richard Stallman
<rms@gnu.org>
Tue, 21 Jul 1992 18:49:45 +0000
(18:49 +0000)
committer
Richard Stallman
<rms@gnu.org>
Tue, 21 Jul 1992 18:49:45 +0000
(18:49 +0000)
From-SVN: r1654
gcc/gbl-ctors.h
patch
|
blob
|
history
diff --git
a/gcc/gbl-ctors.h
b/gcc/gbl-ctors.h
index
d99f622
..
13048ce
100644
(file)
--- 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