summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2011-02-08 21:29:07 +0900
committerDavid Cournapeau <cournape@gmail.com>2011-02-08 21:29:09 +0900
commit51d10b0bed24fea5a65b1981da1a38ea91045345 (patch)
tree0d1c0d2dd088eecd74912c24d348425df037d639 /numpy
parenteec4a495c6286e891d63e841a5b9265af44f2990 (diff)
downloadnumpy-51d10b0bed24fea5a65b1981da1a38ea91045345.tar.gz
BUG: fix undefined macro.
This was surprisingly not detected by gcc, but it fixes clang build.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/multiarray/arraytypes.c.src1
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/core/src/multiarray/arraytypes.c.src b/numpy/core/src/multiarray/arraytypes.c.src
index 527c51632..79c637ee3 100644
--- a/numpy/core/src/multiarray/arraytypes.c.src
+++ b/numpy/core/src/multiarray/arraytypes.c.src
@@ -1520,6 +1520,7 @@ static void
#define _NPY_UNUSEDCLONGDOUBLE NPY_UNUSED
#define _NPY_UNUSEDDATETIME NPY_UNUSED
#define _NPY_UNUSEDTIMEDELTA NPY_UNUSED
+#define _NPY_UNUSEDHALF NPY_UNUSED
#define _NPY_UNUSEDSTRING
#define _NPY_UNUSEDVOID
#define _NPY_UNUSEDUNICODE