2001-02-03 15:42:45 -05:00
|
|
|
$OpenBSD: patch-scm_scm_c,v 1.2 2001/02/03 20:42:47 espie Exp $
|
|
|
|
--- scm.c.orig Tue Sep 21 05:14:03 1999
|
|
|
|
+++ scm.c Tue Jan 30 14:28:01 2001
|
2001-01-30 09:59:19 -05:00
|
|
|
@@ -62,6 +62,9 @@
|
|
|
|
# ifdef SVR4
|
|
|
|
# include <unistd.h>
|
|
|
|
# endif
|
|
|
|
+# ifdef __OpenBSD__
|
|
|
|
+# include <unistd.h>
|
|
|
|
+# endif
|
|
|
|
# ifdef __amigados__
|
|
|
|
# include <unistd.h>
|
|
|
|
# endif
|
|
|
|
@@ -601,6 +604,13 @@ void final_scm(freeall)
|
|
|
|
# define DIRSEP "/"
|
|
|
|
# ifndef MSDOS /* DJGPP defines both */
|
|
|
|
# define SYSTNAME "unix"
|
|
|
|
+# endif
|
|
|
|
+#else
|
|
|
|
+# ifdef __unix__
|
|
|
|
+# define DIRSEP "/"
|
|
|
|
+# ifndef MSDOS /* DJGPP defines both */
|
|
|
|
+# define SYSTNAME "unix"
|
|
|
|
+# endif
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
#ifdef MWC
|