summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/core/src/multiarray/buffer.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/numpy/core/src/multiarray/buffer.c b/numpy/core/src/multiarray/buffer.c
index 18f829b11..ea16f3580 100644
--- a/numpy/core/src/multiarray/buffer.c
+++ b/numpy/core/src/multiarray/buffer.c
@@ -405,6 +405,13 @@ _array_dealloc_buffer_info(PyArrayObject *self)
}
}
+#else
+
+NPY_NO_EXPORT void
+_array_dealloc_buffer_info(PyArrayObject *self)
+{
+}
+
#endif
/*************************************************************************/