Define le32toh as letoh32 on the Android platform.
authorReto Schneider <github@reto-schneider.ch>
Sat, 7 Jul 2012 14:39:53 +0000 (16:39 +0200)
committerReto Schneider <github@reto-schneider.ch>
Sun, 8 Jul 2012 18:55:53 +0000 (20:55 +0200)
src/serialize.c

index 72e3fd4..074d05e 100644 (file)
 #include <endian.h>
 #endif
 
+#ifdef ANDROID
+#define le32toh letoh32
+#endif
+
 #include "serialize.h"
 
 uint8_t get_8(uint8_t **bufferp)