picoproj: support setting the zoom mode
[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"