summaryrefslogtreecommitdiff
path: root/sql/spatial.h
diff options
context:
space:
mode:
authorunknown <hf@deer.(none)>2004-05-27 16:32:49 +0500
committerunknown <hf@deer.(none)>2004-05-27 16:32:49 +0500
commit7f49646cf3be49c0f9a9a9f8599e9bea2223e08a (patch)
tree019f859000d45cddee40cd07a8a14076fcfa4c6f /sql/spatial.h
parentaa6ff1cf682437d3e083bc25617fdc57d3a149d3 (diff)
parent805897cdb81f36b775eb4917f606afdef36c63a8 (diff)
downloadmariadb-git-7f49646cf3be49c0f9a9a9f8599e9bea2223e08a.tar.gz
Merging
myisam/mi_create.c: Auto merged myisam/mi_open.c: Auto merged myisam/rt_test.c: Auto merged myisam/sp_test.c: Auto merged sql/spatial.cc: Auto merged sql/spatial.h: Auto merged sql/sql_yacc.yy: Auto merged myisam/mi_range.c: merging myisam/mi_rnext.c: merging
Diffstat (limited to 'sql/spatial.h')
-rw-r--r--sql/spatial.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/spatial.h b/sql/spatial.h
index cc1cc70f1bc..45db1ca8d00 100644
--- a/sql/spatial.h
+++ b/sql/spatial.h
@@ -17,6 +17,8 @@
#ifndef _spatial_h
#define _spatial_h
+#ifdef HAVE_SPATIAL
+
const uint SRID_SIZE= 4;
const uint SIZEOF_STORED_DOUBLE= 8;
const uint POINT_DATA_SIZE= SIZEOF_STORED_DOUBLE*2;
@@ -459,4 +461,5 @@ struct Geometry_buffer
void *arr[(geometry_buffer_size - 1)/sizeof(void *) + 1];
};
+#endif /*HAVE_SPATAIAL*/
#endif