projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
69d3f89
)
Define le32toh as letoh32 on the Android platform.
author
Reto Schneider <github@reto-schneider.ch>
Sat, 7 Jul 2012 14:39:53 +0000
(16:39 +0200)
committer
Reto Schneider <github@reto-schneider.ch>
Sun, 8 Jul 2012 18:55:53 +0000
(20:55 +0200)
src/serialize.c
patch
|
blob
|
history
diff --git
a/src/serialize.c
b/src/serialize.c
index
72e3fd4
..
074d05e
100644
(file)
--- a/
src/serialize.c
+++ b/
src/serialize.c
@@
-25,6
+25,10
@@
#include <endian.h>
#endif
+#ifdef ANDROID
+#define le32toh letoh32
+#endif
+
#include "serialize.h"
uint8_t get_8(uint8_t **bufferp)