This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository terminology.

View the commit online.

commit 8d80e85c8fc9e5e0173464ac17dab932e669266f
Author: Boris Faure <[email protected]>
AuthorDate: Sat Aug 22 23:36:26 2026 +0200

    private.h: let a binary keep eina logging compiled in
---
 src/bin/private.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/bin/private.h b/src/bin/private.h
index db3e5865..876542cf 100644
--- a/src/bin/private.h
+++ b/src/bin/private.h
@@ -24,8 +24,12 @@ extern int terminology_starting_up;
 //#define ENABLE_TEST_UI
 #endif
 
+/* Test binaries compile logging out. tybench must not: it measures what the
+ * shipping binary costs, and logging is part of that. */
 #if defined(BINARY_TYFUZZ) || defined(BINARY_TYTEST)
-#define EINA_LOG_LEVEL_MAXIMUM (-1)
+# if !defined(BINARY_TYBENCH)
+#  define EINA_LOG_LEVEL_MAXIMUM (-1)
+# endif
 #endif
 extern int _log_domain;
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to