From: Paul Brossier Date: Thu, 28 Feb 2013 18:18:11 +0000 (-0500) Subject: python/: remove NPY_NO_DEPRECATED_API to build anyway X-Git-Tag: 0.4.0-beta1~320 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=cd6fc5a515bfc3fe647d2236c3a2949d86a7d4d5;p=aubio.git python/: remove NPY_NO_DEPRECATED_API to build anyway --- diff --git a/python/aubio-types.h b/python/aubio-types.h index d63bbcd4..9d38c6e3 100644 --- a/python/aubio-types.h +++ b/python/aubio-types.h @@ -1,7 +1,7 @@ #include #include #define NO_IMPORT_ARRAY -#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION +//#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include #define AUBIO_UNSTABLE 1 #include diff --git a/python/aubiomodule.c b/python/aubiomodule.c index df5787e1..9e607af4 100644 --- a/python/aubiomodule.c +++ b/python/aubiomodule.c @@ -1,6 +1,6 @@ #include #define PY_ARRAY_UNIQUE_SYMBOL PyArray_API -#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION +//#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include #include "aubio-types.h"