ref: 410a157f8b8271051a5a48d03347be90609bd0b9
parent: 24a7764b81875e292d049d266886586ceb920dba
author: Paul Brossier <piem@piem.org>
date: Mon Feb 27 08:23:49 EST 2017
python/ext/aubio-types.h: define PATH_MAX if needed
--- a/python/ext/aubio-types.h
+++ b/python/ext/aubio-types.h
@@ -46,6 +46,14 @@
#define AUBIO_NPY_SMPL_CHR "f"
#endif
+#ifndef PATH_MAX
+#ifdef MAX_PATH
+#define PATH_MAX MAX_PATH
+#else
+#define PATH_MAX 1024
+#endif
+#endif
+
// compat with Python < 2.6
#ifndef Py_TYPE
#define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)