/* -*-C-*-
-$Id: bchmmg.c,v 9.91 1995/10/15 00:36:48 cph Exp $
+$Id: bchmmg.c,v 9.92 1997/05/01 01:27:55 cph Exp $
-Copyright (c) 1987-95 Massachusetts Institute of Technology
+Copyright (c) 1987-97 Massachusetts Institute of Technology
This material was developed by the Scheme project at the Massachusetts
Institute of Technology, Department of Electrical Engineering and
#include "prims.h"
#include "option.h"
#include "oscond.h"
+#include "posixtyp.h"
+
+#ifdef _POSIX
+#include <unistd.h>
+#endif
#ifdef DOS386
# include <string.h>
case IDIGNORE:
Microcode_Termination (TERM_EXIT);
}
+ /*NOTREACHED*/
+ return (0);
}
#else /* not WINNT */
fflush (stderr);
if (init_p)
termination_init_error (); /*NOTREACHED*/
- else if (kill_p)
+ if (kill_p)
Microcode_Termination (TERM_EXIT); /*NOTREACHED*/
- else
- return (-1);
+ return (-1);
}
#ifdef SIGCONT
scheme_program_name, name);
Microcode_Termination (TERM_EXIT);
/*NOTREACHED*/
+ return (0);
}
#define GCDIE(m) catastrophic_failure (m)
}
extern char * EXFUN (mktemp, (char *));
-extern long EXFUN (lseek, (int, long, int));
+#ifndef _POSIX
+extern off_t EXFUN (lseek, (int, off_t, int));
+#endif
static void
DEFUN (open_gc_file, (size, unlink_p),
Pushed ();
PRIMITIVE_ABORT (PRIM_APPLY);
/*NOTREACHED*/
+ return (0);
}
\f
static void
#if (CAN_RECONFIGURE_GC_BUFFERS == 0)
signal_error_from_primitive (ERR_UNDEFINED_PRIMITIVE);
/*NOTREACHED*/
+ return (0);
#else
{
signal_error_from_primitive (ERR_EXTERNAL_RETURN);
}
/*NOTREACHED*/
+ return (0);
}
#endif /* (CAN_RECONFIGURE_GC_BUFFERS == 0) */
}