summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/harfbuzz-ng/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/harfbuzz-ng/src/config.h')
-rw-r--r--src/3rdparty/harfbuzz-ng/src/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3rdparty/harfbuzz-ng/src/config.h b/src/3rdparty/harfbuzz-ng/src/config.h
index fe9a450533..db706987fe 100644
--- a/src/3rdparty/harfbuzz-ng/src/config.h
+++ b/src/3rdparty/harfbuzz-ng/src/config.h
@@ -14,6 +14,10 @@
# define HB_INTERNAL Q_DECL_HIDDEN
#endif
+#if !defined(QT_NO_DEBUG)
+# define NDEBUG
+#endif
+
// because strdup() is not part of strict Posix, declare it here
extern "C" char *strdup(const char *src);