projects
/
libam7xxx.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
debian/changelog: release Debian package 0.1.4-2
[libam7xxx.git]
/
src
/
serialize.c
diff --git
a/src/serialize.c
b/src/serialize.c
index
be300ea
..
72e3fd4
100644
(file)
--- a/
src/serialize.c
+++ b/
src/serialize.c
@@
-17,7
+17,13
@@
*/
#include <string.h>
+
+#ifdef __MINGW32__
+#define le32toh(x) (x)
+#define htole32(x) (x)
+#else
#include <endian.h>
+#endif
#include "serialize.h"