shithub: aubio

Download patch

ref: 0806cd228d22f17add86b680b888c7f0a89a6837
parent: aad12354b6dc3e8afc99dfd8c0d95a9448e713ac
author: Paul Brossier <piem@piem.org>
date: Fri Apr 22 19:55:42 EDT 2016

src/aubio_priv.h: define PATH_MAX if needed

--- a/src/aubio_priv.h
+++ b/src/aubio_priv.h
@@ -193,6 +193,10 @@
 #endif
 #define TWO_PI     (PI*2.)
 
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
 /* aliases to math.h functions */
 #if !HAVE_AUBIO_DOUBLE
 #define EXP        expf