From: Andrey Hristov Date: Mon, 4 Oct 2010 12:41:12 +0000 (+0000) Subject: don't define twice the macro on some platforms X-Git-Tag: php-5.4.0alpha1~191^2~854 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f06ac5caf61a9250286695ac25ca8d03e07fe03;p=php don't define twice the macro on some platforms --- 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