+Sun Sep 6 12:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * glib.h: provide proper ATEXIT behavior on NeXTStep by !atexit
+
Sat Sep 5 18:03:36 1998 Tom Tromey <tromey@cygnus.com>
* gutils.c (GLIB_INLINE): Define.
+Sun Sep 6 12:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * glib.h: provide proper ATEXIT behavior on NeXTStep by !atexit
+
Sat Sep 5 18:03:36 1998 Tom Tromey <tromey@cygnus.com>
* gutils.c (GLIB_INLINE): Define.
+Sun Sep 6 12:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * glib.h: provide proper ATEXIT behavior on NeXTStep by !atexit
+
Sat Sep 5 18:03:36 1998 Tom Tromey <tromey@cygnus.com>
* gutils.c (GLIB_INLINE): Define.
+Sun Sep 6 12:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * glib.h: provide proper ATEXIT behavior on NeXTStep by !atexit
+
Sat Sep 5 18:03:36 1998 Tom Tromey <tromey@cygnus.com>
* gutils.c (GLIB_INLINE): Define.
+Sun Sep 6 12:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * glib.h: provide proper ATEXIT behavior on NeXTStep by !atexit
+
Sat Sep 5 18:03:36 1998 Tom Tromey <tromey@cygnus.com>
* gutils.c (GLIB_INLINE): Define.
+Sun Sep 6 12:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * glib.h: provide proper ATEXIT behavior on NeXTStep by !atexit
+
Sat Sep 5 18:03:36 1998 Tom Tromey <tromey@cygnus.com>
* gutils.c (GLIB_INLINE): Define.
+Sun Sep 6 12:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * glib.h: provide proper ATEXIT behavior on NeXTStep by !atexit
+
Sat Sep 5 18:03:36 1998 Tom Tromey <tromey@cygnus.com>
* gutils.c (GLIB_INLINE): Define.
+Sun Sep 6 12:31:50 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * glib.h: provide proper ATEXIT behavior on NeXTStep by !atexit
+
Sat Sep 5 18:03:36 1998 Tom Tromey <tromey@cygnus.com>
* gutils.c (GLIB_INLINE): Define.
#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
#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