src/aubio_setup.c: add a warning if compiling without pthread
authorPaul Brossier <piem@piem.org>
Sun, 12 Mar 2017 14:39:48 +0000 (15:39 +0100)
committerPaul Brossier <piem@piem.org>
Sun, 12 Mar 2017 14:39:48 +0000 (15:39 +0100)
src/aubio_setup.c

index 5b25d03..b932688 100644 (file)
@@ -6,6 +6,8 @@
 #ifdef HAVE_PTHREAD
 #include <pthread.h>
 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;