diff options
author | Andrey Hristov <andrey@php.net> | 2010-10-04 12:41:12 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2010-10-04 12:41:12 +0000 |
commit | 5f06ac5caf61a9250286695ac25ca8d03e07fe03 (patch) | |
tree | fc438c5c87537acabeaf7f63ef8fb48b04505a06 | |
parent | 500cd35c216b3da92bc9b4b23f7af31bfc1b4578 (diff) | |
download | php-git-5f06ac5caf61a9250286695ac25ca8d03e07fe03.tar.gz |
don't define twice the macro on some platforms
-rw-r--r-- | ext/mysqlnd/mysqlnd_portability.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_portability.h b/ext/mysqlnd/mysqlnd_portability.h index 40f614ab04..7d86cc9501 100644 --- a/ext/mysqlnd/mysqlnd_portability.h +++ b/ext/mysqlnd/mysqlnd_portability.h @@ -483,8 +483,10 @@ typedef union { #ifdef WORDS_BIGENDIAN +#ifndef float8get #define float8get(V,M) memcpy((char*) &(V),(char*) (M), sizeof(double)) #define float8store(T,V) memcpy((char*) (T),(char*) &(V), sizeof(double)) +#endif /* float8get */ #else |