diff options
author | unknown <monty@donna.mysql.com> | 2001-02-08 04:43:55 +0200 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2001-02-08 04:43:55 +0200 |
commit | 6d4d727efbd961db59abd6cadf8dfb9856974093 (patch) | |
tree | 423a732474ddc20d41d3ade8d9dfec50f09ee1b9 /include/myisampack.h | |
parent | 2f40648f2af055decc5971004936a6843b51da3c (diff) | |
download | mariadb-git-6d4d727efbd961db59abd6cadf8dfb9856974093.tar.gz |
Check that __FLOAT_WORD_ORDER is defined
Diffstat (limited to 'include/myisampack.h')
-rw-r--r-- | include/myisampack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/myisampack.h b/include/myisampack.h index 376737ad83e..a51cdc7e6eb 100644 --- a/include/myisampack.h +++ b/include/myisampack.h @@ -167,7 +167,7 @@ ((byte*) &def_temp)[3]=(M)[0];\ (V)=def_temp; } -#if (__FLOAT_WORD_ORDER == __BIG_ENDIAN) +#if defined(__FLOAT_WORD_ORDER) && (__FLOAT_WORD_ORDER == __BIG_ENDIAN) #define mi_float8store(T,V) { *(T)= ((byte *) &V)[3];\ *((T)+1)=(char) ((byte *) &V)[2];\ *((T)+2)=(char) ((byte *) &V)[1];\ |