Explorar o código

include/compiler.h: typedef ulong for FreeBSD

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Jeroen Hofstee %!s(int64=13) %!d(string=hai) anos
pai
achega
5bce5dc33d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/compiler.h

+ 1 - 1
include/compiler.h

@@ -44,7 +44,7 @@
 #ifdef __linux__
 # include <endian.h>
 # include <byteswap.h>
-#elif defined(__MACH__)
+#elif defined(__MACH__) || defined(__FreeBSD__)
 # include <machine/endian.h>
 typedef unsigned long ulong;
 #endif