Add the definition of "floatget".

Necessary to compile 5.0.10 on Windows, no bug report filed.
This commit is contained in:
joerg@mysql.com 2005-07-22 20:37:59 +02:00
parent 2624bf5290
commit 306ade1fd5

View file

@ -285,6 +285,7 @@ inline double ulonglong2double(ulonglong value)
*(((long *) T)+1) = *(((long*) &V)+1); }
#define float4get(V,M) { *((long *) &(V)) = *((long*) (M)); }
#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))
#define float4store(V,M) memcpy((byte*) V,(byte*) (&M),sizeof(float))
#define float8store(V,M) doublestore((V),(M))