freebsd-ports/emulators/x48/files/patch-src+global.h
Alexey Dokuchaev 59439582e5 - Add SX ROM revision E (rev J does not work)
- Fix terminal allocation code under FreeBSD
- Catch up with PHK's cuaa->cuad rework in -CURRENT
- Avoid direct use of `unzip' command in Makefile in favor of ${UNZIP_CMD}
- Utilize DATADIR and DOCSDIR marcos in pkg-plist
- SIZEify
- Take maintainership

Approved by:	fjoe (mentor, implicit)
2004-11-22 12:27:16 +00:00

25 lines
495 B
C

--- src/global.h.orig Tue Sep 7 22:41:45 1999
+++ src/global.h Mon Nov 22 17:03:53 2004
@@ -79,6 +79,14 @@
#else /* Not Linux */
+#if defined(__FreeBSD__)
+
+#ifndef FREEBSD
+#define FREEBSD 1
+#endif
+
+#else /* Not FreeBSD */
+
#if defined(sun) && defined(unix)
#if defined(__svr4__) || defined(SVR4) || defined(SYSV)
@@ -106,6 +114,7 @@
#endif /* Not HP-UX */
#endif /* Not Solaris */
#endif /* Sun && Unix */
+#endif /* Not FreeBSD */
#endif /* Not Linux */
#ifdef SYSV