We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0376544 commit f2c7b08Copy full SHA for f2c7b08
1 file changed
lang/c/src/codec.c
@@ -21,6 +21,9 @@
21
# if defined(__APPLE__)
22
# include <libkern/OSByteOrder.h>
23
# define __bswap_32 OSSwapInt32
24
+# elif defined(__FreeBSD__)
25
+# include <sys/endian.h>
26
+# define __bswap_32 bswap32
27
# else
28
# include <byteswap.h>
29
# endif
0 commit comments