diff src/octave.cc @ 1704:bcb2a18534a8

[project @ 1996-01-07 05:22:21 by jwe]
author jwe
date Sun, 07 Jan 1996 05:22:36 +0000
parents acf3af7e64f7
children 4d552a89ceaa
line wrap: on
line diff
--- a/src/octave.cc	Sun Jan 07 04:40:21 1996 +0000
+++ b/src/octave.cc	Sun Jan 07 05:22:36 1996 +0000
@@ -76,6 +76,11 @@
 #include "variables.h"
 #include "version.h"
 
+#if !defined (HAVE_ATEXIT) && defined (HAVE_ON_EXIT)
+extern "C" int on_exit ();
+#define atexit on_exit
+#endif
+
 // This is from readline's paren.c:
 extern int rl_blink_matching_paren;