From 603fdd8428ecd0dcd9b79777220a1518bf9c0462 Mon Sep 17 00:00:00 2001
From: Jonathan Helmus <jjhelmus@gmail.com>
Date: Thu, 28 Feb 2019 16:57:00 -0600
Subject: [PATCH 21/22] define __THRESHOLD

---
 numpy/core/src/multiarray/item_selection.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/numpy/core/src/multiarray/item_selection.c b/numpy/core/src/multiarray/item_selection.c
index 7ae9e9d1b..ba0783370 100644
--- a/numpy/core/src/multiarray/item_selection.c
+++ b/numpy/core/src/multiarray/item_selection.c
@@ -31,6 +31,10 @@
 
 #define memmove(src, dst, size) call_mkl_mv(src, dst, size, __FILE__, __func__, __LINE__)
 
+#ifndef __THRESHOLD
+#define __THRESHOLD 524288
+#endif
+
 /*NUMPY_API
  * Take
  */
-- 
2.20.1

