We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c9c46d7 + ca729ef commit a17a6f3Copy full SHA for a17a6f3
include/cppkafka/detail/endianness.h
@@ -42,11 +42,11 @@
42
# define __LITTLE_ENDIAN LITTLE_ENDIAN
43
# define __PDP_ENDIAN PDP_ENDIAN
44
45
-#elif defined(__OpenBSD__)
+#elif defined(__OpenBSD__) || defined(__FreeBSD__)
46
47
# include <sys/endian.h>
48
49
-#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
+#elif defined(__NetBSD__) || defined(__DragonFly__)
50
51
52
@@ -115,4 +115,4 @@
115
116
#endif
117
118
-#endif // CPPKAFKA_PORTABLE_ENDIAN_H
+#endif // CPPKAFKA_PORTABLE_ENDIAN_H
0 commit comments