summaryrefslogtreecommitdiff
path: root/include/myisampack.h
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2001-02-08 04:43:55 +0200
committermonty@donna.mysql.com <>2001-02-08 04:43:55 +0200
commit1b2c84186418247ad7744ca35c714145db3961b3 (patch)
tree423a732474ddc20d41d3ade8d9dfec50f09ee1b9 /include/myisampack.h
parenta8c7affe21a5667b93ca480ade8046d3778ec1d0 (diff)
downloadmariadb-git-1b2c84186418247ad7744ca35c714145db3961b3.tar.gz
Check that __FLOAT_WORD_ORDER is defined
Diffstat (limited to 'include/myisampack.h')
-rw-r--r--include/myisampack.h2
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];\