1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/lang/xds-c/files/patch-include__xrnMman.h
Alejandro Pulver 2f1a90e0ca This is XDS-C for Linux, it is setup to produce native FreeBSD binaries.
WWW: http://www.excelsior-usa.com/

PR:		ports/108499
Submitted by:	coumarin at gmail.com
2007-02-17 03:33:42 +00:00

15 lines
407 B
C

--- include/xrnMman.h.orig 2005-05-10 08:23:33.000000000 +0000
+++ include/xrnMman.h 2007-01-24 15:29:52.000000000 +0000
@@ -37,8 +37,11 @@
typedef X2C_INT32 INT32;
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+#else
extern X2C_ADDRESS mmap(X2C_ADDRESS, X2C_CARD32, X2C_CARD32, X2C_CARD32,
X2C_INT32, X2C_CARD32);
+#endif
extern X2C_INT32 munmap(X2C_ADDRESS, X2C_CARD32);