openbsd-ports/lang/scm/patches/patch-scm_scm_c
2001-02-03 20:42:45 +00:00

28 lines
614 B
Plaintext

$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
@@ -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