summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ffts_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ffts_internal.h b/src/ffts_internal.h
index 7ae8789..6b88b35 100644
--- a/src/ffts_internal.h
+++ b/src/ffts_internal.h
@@ -54,12 +54,16 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <stdio.h>
+#ifdef ENABLE_LOG
#ifdef __ANDROID__
#include <android/log.h>
#define LOG(s) __android_log_print(ANDROID_LOG_ERROR, "FFTS", s)
#else
#define LOG(s) fprintf(stderr, s)
#endif
+#else
+#define LOG(s)
+#endif
struct _ffts_plan_t;
typedef void (*transform_func_t)(struct _ffts_plan_t *p, const void *in, void *out);
OpenPOWER on IntegriCloud