diff options
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |