add ENABLE_SANITY_CHECKS #define instead of using '1'

This commit is contained in:
Christian Grothoff 2020-03-01 13:14:46 +01:00
parent f979ee9aca
commit 2906aeb459
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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_ */