summaryrefslogtreecommitdiffstats
path: root/benchmarks/include/benchmark_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/include/benchmark_types.h')
-rw-r--r--benchmarks/include/benchmark_types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/benchmarks/include/benchmark_types.h b/benchmarks/include/benchmark_types.h
index 85e9565..fcdeac6 100644
--- a/benchmarks/include/benchmark_types.h
+++ b/benchmarks/include/benchmark_types.h
@@ -2,7 +2,6 @@
#include <cstdlib>
#include "psu-ds/BTree.h"
-#include "mtree.h"
#include "framework/interface/Record.h"
/* TLX BTree definitions*/
@@ -46,5 +45,8 @@ struct euclidean_distance {
}
};
+#ifdef _GNU_SOURCE
+#include "mtree.h"
typedef mt::mtree<Word2VecRec, euclidean_distance> MTree;
+#endif