opnsense-ports/science/cgnslib/files/patch-src_cgnstools_utilities_binaryio.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
418 B
C

--- ./src/cgnstools/utilities/binaryio.h.orig 2011-02-12 23:52:26.000000000 +0100
+++ ./src/cgnstools/utilities/binaryio.h 2012-03-13 22:38:55.000000000 +0100
@@ -98,7 +98,7 @@
# define MACH_LOCAL MACH_WIN32
#endif
-#if defined(__linux) || defined(__CYGWIN__)
+#if defined(__linux) || defined(__CYGWIN__) || defined(__FreeBSD__)
# define ARCH_LOCAL ARCH_BSIEEE
# define MACH_LOCAL MACH_LINUX
#endif