summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index 323ff29b5..79d98e2e0 100644
--- a/defines.h
+++ b/defines.h
@@ -354,6 +354,10 @@ struct winsize {
354 354
355#if !defined(HAVE_ATEXIT) && defined(HAVE_ON_EXIT) 355#if !defined(HAVE_ATEXIT) && defined(HAVE_ON_EXIT)
356# define atexit(a) on_exit(a) 356# define atexit(a) on_exit(a)
357#else
358# if defined(HAVE_XATEXIT)
359# define atexit(a) xatexit(a)
360# endif /* defined(HAVE_XATEXIT) */
357#endif /* !defined(HAVE_ATEXIT) && defined(HAVE_ON_EXIT) */ 361#endif /* !defined(HAVE_ATEXIT) && defined(HAVE_ON_EXIT) */
358 362
359#if defined(HAVE_VHANGUP) && !defined(BROKEN_VHANGUP) 363#if defined(HAVE_VHANGUP) && !defined(BROKEN_VHANGUP)