added macro guard to enable overriding ENABLE_LOG
authorAnish Pednekar <pednekar.anish@gmail.com>
Sun, 20 Jul 2014 15:29:17 +0000 (20:59 +0530)
committerAnish Pednekar <pednekar.anish@gmail.com>
Sun, 20 Jul 2014 15:36:37 +0000 (21:06 +0530)
modules/stitching/include/opencv2/stitching/detail/util.hpp

index 6b1c5f3..2769dc6 100644 (file)
@@ -46,7 +46,9 @@
 #include <list>
 #include "opencv2/core.hpp"
 
+#ifndef ENABLE_LOG
 #define ENABLE_LOG 0
+#endif
 
 // TODO remove LOG macros, add logging class
 #if ENABLE_LOG