From 40c18743f4f31676aec4b2a51497f5053e2c4db0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Mon, 10 Feb 2014 11:06:47 +0900 Subject: [PATCH] Evas filters: Disable time debug logs (blur) Enabling those will break windows build. --- src/lib/evas/filters/evas_filter_blur.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/evas/filters/evas_filter_blur.c b/src/lib/evas/filters/evas_filter_blur.c index 5db74a723b..ca562fb51d 100644 --- a/src/lib/evas/filters/evas_filter_blur.c +++ b/src/lib/evas/filters/evas_filter_blur.c @@ -4,8 +4,14 @@ #include #include -#define DEBUG_TIME 1 +// Enable debug if you're working on optimizations +#define DEBUG_TIME 0 +// Windows build will break if CLOCK_MONOTONIC is used +#if !defined(_POSIX_MONOTONIC_CLOCK) || (_POSIX_MONOTONIC_CLOCK < 0) +# undef DEBUG_TIME +# define DEBUG_TIME 0 +#endif #if DIV_USING_BITSHIFT static int