mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
Add the definition of "floatget".
Necessary to compile 5.0.10 on Windows, no bug report filed.
This commit is contained in:
parent
2624bf5290
commit
306ade1fd5
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue