am7xxx: add a note on the symmetry of read_header() and send_header()
[libam7xxx.git] / src / serialize.c
index be300ea..72e3fd4 100644 (file)
  */
 
 #include <string.h>
+
+#ifdef __MINGW32__
+#define le32toh(x) (x)
+#define htole32(x) (x)
+#else
 #include <endian.h>
+#endif
 
 #include "serialize.h"