[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: add ENABLE_SANITY_CHECKS #define
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: add ENABLE_SANITY_CHECKS #define instead of using '1' |
Date: |
Sun, 01 Mar 2020 13:14:48 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 2906aeb4 add ENABLE_SANITY_CHECKS #define instead of using '1'
2906aeb4 is described below
commit 2906aeb45939efa0fb5b4ab85878eb2e86418933
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Mar 1 13:14:46 2020 +0100
add ENABLE_SANITY_CHECKS #define instead of using '1'
---
src/include/platform.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/include/platform.h b/src/include/platform.h
index 847e024b..ec2f7076 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -55,6 +55,13 @@
to "ancient" MHD releases. */
#define MHD_NO_DEPRECATION 1
+/* Enable additional sanity checks that may result in a moderate
+ loss of performance but could be helpful to spot bugs. This
+ option should be enabled unless we are running benchmarks and/or
+ really need the last bit of performance. So even in production,
+ the default should be 'on' unless it was established that this
+ is needed for performance reasons. */
+#define ENABLE_SANITY_CHECKS 1
#endif /* PLATFORM_H_ */
--
To stop receiving notification emails like this one, please contact
address@hidden.