Commit e0fe1f58 authored by Nikias Bassen's avatar Nikias Bassen

bplist: use __FLOAT_WORD_ORDER__ instead of __VFP_FP__ for floating point endianness detection

parent 8df77c95
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment