summaryrefslogtreecommitdiff
path: root/math/py-numarray/files
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--math/py-numarray/files/patch-Include::numarray::nummacro.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/math/py-numarray/files/patch-Include::numarray::nummacro.h b/math/py-numarray/files/patch-Include::numarray::nummacro.h
new file mode 100644
index 000000000000..1cb40e378d5f
--- /dev/null
+++ b/math/py-numarray/files/patch-Include::numarray::nummacro.h
@@ -0,0 +1,14 @@
+--- Include/numarray/nummacro.h.orig Fri Nov 18 20:42:15 2005
++++ Include/numarray/nummacro.h Fri Nov 18 20:43:33 2005
+@@ -24,7 +24,11 @@
+ int n_outs, PyObject*outs[]);
+ typedef struct {
+ PyObject_HEAD
++#ifdef __cplusplus
++ PyObject *operator_; /* ufunc name */
++#else
+ PyObject *operator; /* ufunc name */
++#endif
+ PyObject *identity; /* identity value, e.g. 0 for + or 1 for * */
+ int n_inputs, n_outputs;
+ _ufunc_function call;