From f6fa7fb8d23719d1bcbf1d3f48751db65ea997d4 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 12 Mar 2017 15:39:48 +0100 Subject: [PATCH] src/aubio_setup.c: add a warning if compiling without pthread --- src/aubio_setup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/aubio_setup.c b/src/aubio_setup.c index 5b25d03..b932688 100644 --- a/src/aubio_setup.c +++ b/src/aubio_setup.c @@ -6,6 +6,8 @@ #ifdef HAVE_PTHREAD #include pthread_mutex_t aubio_log_mutex; +#else +#warning "Not using thread lock for logging" #endif char aubio_version[] = "aubio external for pd, version " PACKAGE_VERSION; -- 2.11.0