summaryrefslogtreecommitdiff
path: root/sql/spatial.cc
diff options
context:
space:
mode:
authorunknown <SergeyV@selena.>2005-11-14 15:19:52 +0300
committerunknown <SergeyV@selena.>2005-11-14 15:19:52 +0300
commit67df0e19e4cd17b7238d8ac2d4944324f889f1ba (patch)
tree55751f0db1f06171a1f9f04bd7023e57e481c00b /sql/spatial.cc
parent63bbb1513a73a0a556c8c7873cd6c9f5d610d652 (diff)
downloadmariadb-git-67df0e19e4cd17b7238d8ac2d4944324f889f1ba.tar.gz
Fixed number of compiler errors on win32.
VC++Files/mysqlbinlog/mysqlbinlog.vcproj: Fixed compiler error for Win32 build. #include "decimal.c" wrere no able to find decimal.c file. sql/ha_innodb.cc: Fixed compiler error for Win32 build. sql/spatial.cc: Fixed compiler error for Win32 build. float8get should be enclosed in {} since it is macro on win32 and might cause unmatching blocks.
Diffstat (limited to 'sql/spatial.cc')
-rw-r--r--sql/spatial.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/spatial.cc b/sql/spatial.cc
index 5af1bec45ca..ca9615236e0 100644
--- a/sql/spatial.cc
+++ b/sql/spatial.cc
@@ -178,7 +178,9 @@ static double wkb_get_double(const char *ptr, Geometry::wkbByteOrder bo)
{
double res;
if (bo != Geometry::wkb_xdr)
+ {
float8get(res, ptr);
+ }
else
{
char inv_array[8];