summaryrefslogtreecommitdiff
path: root/include/config-win.h
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2005-07-31 02:44:18 -0700
committerunknown <igor@rurik.mysql.com>2005-07-31 02:44:18 -0700
commit6c40ce76545cc78023a788ab473e870ce10694c5 (patch)
treeeab125f3ab390fa8cb639cbf4604fd61911d465f /include/config-win.h
parent629d59a8690328478e2eb2e9950870c7a7d0a726 (diff)
parent83304cd0b113e0101aa44c350b08161bf7d29eb0 (diff)
downloadmariadb-git-6c40ce76545cc78023a788ab473e870ce10694c5.tar.gz
Merge
VC++Files/client/mysqlclient_ia64.dsp: Auto merged include/config-win.h: Auto merged sql/item_sum.cc: SCCS merged
Diffstat (limited to 'include/config-win.h')
-rw-r--r--include/config-win.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config-win.h b/include/config-win.h
index 4eaf97cd4f5..04f79e95c80 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -284,6 +284,7 @@ inline double ulonglong2double(ulonglong value)
#define doublestore(T,V) { *((long *) T) = *((long*) &V); \
*(((long *) T)+1) = *(((long*) &V)+1); }
#define float4get(V,M) { *((long *) &(V)) = *((long*) (M)); }
+#define floatget(V,M) memcpy((byte*) &V,(byte*) (M),sizeof(float))
#define floatstore(T,V) memcpy((byte*)(T), (byte*)(&V), sizeof(float))
#define floatget(V,M) memcpy((byte*)(&V), (byte*)(M), sizeof(float))
#define float8get(V,M) doubleget((V),(M))