summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-10-04 12:41:12 +0000
committerAndrey Hristov <andrey@php.net>2010-10-04 12:41:12 +0000
commitcacd5ad92408c227e1bd9edee817280184671b6d (patch)
treed512ca82671e44f4f1856c5432a840933d58ea99
parent1f9a7fd758973c306fea9dccbc755d5c1e932af5 (diff)
downloadphp-git-cacd5ad92408c227e1bd9edee817280184671b6d.tar.gz
don't define twice the macro on some platforms
-rw-r--r--ext/mysqlnd/mysqlnd_portability.h2
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