Commit d983d652 by Richard Stallman

entered into RCS

From-SVN: r1654
parent 4dec0b13
...@@ -31,13 +31,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -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. 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 #ifdef HAVE_ATEXIT
extern void atexit (void (*) (void)); extern void atexit (void (*) (void));
#define ON_EXIT(FUNC,ARG) atexit ((FUNC)) #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
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment