provide proper ATEXIT behavior on NeXTStep by !atexit
-Yosh
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
Sun Sep 6 12:35:13 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* glib.h: provide proper ATEXIT behavior on NeXTStep by !atexit
|
||||
|
||||
Wed Jul 1 20:14:03 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* ltconfig: fix for properly detecting shared lib support on
|
||||
|
||||
@@ -176,7 +176,11 @@
|
||||
|
||||
#ifndef ATEXIT
|
||||
# ifdef HAVE_ATEXIT
|
||||
# define ATEXIT(proc) (atexit (proc))
|
||||
# ifdef NeXT /* @#%@! NeXTStep */
|
||||
# define ATEXIT(proc) (!atexit (proc))
|
||||
# else
|
||||
# define ATEXIT(proc) (atexit (proc))
|
||||
# endif /* NeXT */
|
||||
# elif defined (HAVE_ON_EXIT)
|
||||
# define ATEXIT(proc) (on_exit ((void (*)(int, void *))(proc), NULL))
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user