mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
include/compiler.h: typedef ulong for FreeBSD
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
This commit is contained in:
committed by
Wolfgang Denk
parent
09c2e90c11
commit
5bce5dc33d
@@ -44,7 +44,7 @@
|
|||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
# include <endian.h>
|
# include <endian.h>
|
||||||
# include <byteswap.h>
|
# include <byteswap.h>
|
||||||
#elif defined(__MACH__)
|
#elif defined(__MACH__) || defined(__FreeBSD__)
|
||||||
# include <machine/endian.h>
|
# include <machine/endian.h>
|
||||||
typedef unsigned long ulong;
|
typedef unsigned long ulong;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user