summaryrefslogtreecommitdiff
path: root/myisam/rt_mbr.h
diff options
context:
space:
mode:
Diffstat (limited to 'myisam/rt_mbr.h')
-rw-r--r--myisam/rt_mbr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/myisam/rt_mbr.h b/myisam/rt_mbr.h
index a68807370f9..1367163da79 100644
--- a/myisam/rt_mbr.h
+++ b/myisam/rt_mbr.h
@@ -18,6 +18,8 @@
#ifndef _rt_mbr_h
#define _rt_mbr_h
+#ifdef HAVE_RTREE_KEYS
+
int rtree_key_cmp(HA_KEYSEG *keyseg, uchar *a, uchar *b, uint key_length,
uint nextflag);
int rtree_combine_rect(HA_KEYSEG *keyseg,uchar *, uchar *, uchar*,
@@ -30,4 +32,5 @@ double rtree_area_increase(HA_KEYSEG *keyseg, uchar *a, uchar *b,
uint key_length, double *ab_area);
int rtree_page_mbr(MI_INFO *info, HA_KEYSEG *keyseg, uchar *page_buf,
uchar* c, uint key_length);
+#endif /*HAVE_RTREE_KEYS*/
#endif /* _rt_mbr_h */