diff options
author | unknown <igor@rurik.mysql.com> | 2005-07-31 02:44:18 -0700 |
---|---|---|
committer | unknown <igor@rurik.mysql.com> | 2005-07-31 02:44:18 -0700 |
commit | 6c40ce76545cc78023a788ab473e870ce10694c5 (patch) | |
tree | eab125f3ab390fa8cb639cbf4604fd61911d465f /include/config-win.h | |
parent | 629d59a8690328478e2eb2e9950870c7a7d0a726 (diff) | |
parent | 83304cd0b113e0101aa44c350b08161bf7d29eb0 (diff) | |
download | mariadb-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.h | 1 |
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)) |