| Index: third_party/harfbuzz-ng/src/hb-private.hh
|
| diff --git a/third_party/harfbuzz-ng/src/hb-private.hh b/third_party/harfbuzz-ng/src/hb-private.hh
|
| index 7afb25803fb0fa69c315279c51d05870dd22c42a..179e4e9f7418f487475809ef6449b0ef775d54e3 100644
|
| --- a/third_party/harfbuzz-ng/src/hb-private.hh
|
| +++ b/third_party/harfbuzz-ng/src/hb-private.hh
|
| @@ -611,6 +611,15 @@ static inline unsigned char TOLOWER (unsigned char c)
|
| /* Debug */
|
|
|
|
|
| +/* HB_NDEBUG disables some sanity checks that are very safe to disable and
|
| + * should be disabled in production systems. If NDEBUG is defined, enable
|
| + * HB_NDEBUG; but if it's desirable that normal assert()s (which are very
|
| + * light-weight) to be enabled, then HB_DEBUG can be defined to disable
|
| + * the costlier checks. */
|
| +#ifdef NDEBUG
|
| +#define HB_NDEBUG
|
| +#endif
|
| +
|
| #ifndef HB_DEBUG
|
| #define HB_DEBUG 0
|
| #endif
|
|
|