diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bplist.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bplist.c b/src/bplist.c index 7893ff5..5db7096 100644 --- a/src/bplist.c +++ b/src/bplist.c @@ -73,7 +73,10 @@ enum static void float_byte_convert(uint8_t * address, size_t size) { -#if PLIST_BYTE_ORDER == PLIST_LITTLE_ENDIAN && !defined (__VFP_FP__) +#if (PLIST_BYTE_ORDER == PLIST_LITTLE_ENDIAN \ + && !defined(__FLOAT_WORD_ORDER__)) \ + || (defined(__FLOAT_WORD_ORDER__) \ + && __FLOAT_WORD_ORDER__ == __ORDER_LITTLE_ENDIAN__) uint8_t i = 0, j = 0; uint8_t tmp = 0; |