diff options
author | unknown <georg@lmy002.wdf.sap.corp> | 2005-07-29 14:51:08 +0200 |
---|---|---|
committer | unknown <georg@lmy002.wdf.sap.corp> | 2005-07-29 14:51:08 +0200 |
commit | 52dfa3b89181c06738afd79b046712bdd342d165 (patch) | |
tree | 256bd8e4d6621bc9fa468e346b3583ee680046ff /include | |
parent | 8cec845876ffb77eb110e94f9de748097734b20e (diff) | |
download | mariadb-git-52dfa3b89181c06738afd79b046712bdd342d165.tar.gz |
fix for bug#12665
macro floatget was missing in config-win.h
Diffstat (limited to 'include')
-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 86704c4740b..0899d961d14 100644 --- a/include/config-win.h +++ b/include/config-win.h @@ -283,6 +283,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 float8get(V,M) doubleget((V),(M)) #define float4store(V,M) memcpy((byte*) V,(byte*) (&M),sizeof(float)) |