13 lines
286 B
Diff
13 lines
286 B
Diff
--- a/numba/_helperlib.c
|
|
+++ b/numba/_helperlib.c
|
|
@@ -25,6 +25,9 @@
|
|
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
|
|
#include <numpy/ndarrayobject.h>
|
|
#include <numpy/arrayscalars.h>
|
|
+#if !defined(I) && !defined(_MSC_VER)
|
|
+#define I _Complex_I
|
|
+#endif
|
|
|
|
#include "_arraystruct.h"
|
|
|