mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-01 02:57:53 +00:00
Fix FreeBSD builds
This commit is contained in:
@@ -42,11 +42,11 @@
|
|||||||
# define __LITTLE_ENDIAN LITTLE_ENDIAN
|
# define __LITTLE_ENDIAN LITTLE_ENDIAN
|
||||||
# define __PDP_ENDIAN PDP_ENDIAN
|
# define __PDP_ENDIAN PDP_ENDIAN
|
||||||
|
|
||||||
#elif defined(__OpenBSD__)
|
#elif defined(__OpenBSD__) || defined(__FreeBSD__)
|
||||||
|
|
||||||
# include <sys/endian.h>
|
# include <sys/endian.h>
|
||||||
|
|
||||||
#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
#elif defined(__NetBSD__) || defined(__DragonFly__)
|
||||||
|
|
||||||
# include <sys/endian.h>
|
# include <sys/endian.h>
|
||||||
|
|
||||||
@@ -115,4 +115,4 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // CPPKAFKA_PORTABLE_ENDIAN_H
|
#endif // CPPKAFKA_PORTABLE_ENDIAN_H
|
||||||
|
|||||||
Reference in New Issue
Block a user