jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=40c18743f4f31676aec4b2a51497f5053e2c4db0

commit 40c18743f4f31676aec4b2a51497f5053e2c4db0
Author: Jean-Philippe Andre <[email protected]>
Date:   Mon Feb 10 11:06:47 2014 +0900

    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 5db74a7..ca562fb 100644
--- a/src/lib/evas/filters/evas_filter_blur.c
+++ b/src/lib/evas/filters/evas_filter_blur.c
@@ -4,8 +4,14 @@
 #include <math.h>
 #include <time.h>
 
-#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

-- 


Reply via email to