summaryrefslogtreecommitdiff
path: root/myisam/sp_key.c
diff options
context:
space:
mode:
Diffstat (limited to 'myisam/sp_key.c')
-rw-r--r--myisam/sp_key.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/myisam/sp_key.c b/myisam/sp_key.c
index f669d217026..0e424a9e193 100644
--- a/myisam/sp_key.c
+++ b/myisam/sp_key.c
@@ -15,6 +15,9 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#include "myisamdef.h"
+
+#ifdef HAVE_SPATIAL
+
#include "sp_defs.h"
static int sp_add_point_to_mbr(uchar *(*wkb), uchar *end, uint n_dims,
@@ -284,3 +287,5 @@ static int sp_get_geometry_mbr(uchar *(*wkb), uchar *end, uint n_dims,
}
return res;
}
+
+#endif /*HAVE_SPATIAL*/