summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/no-keywords.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/no-keywords.h')
-rw-r--r--tests/auto/tools/moc/no-keywords.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/no-keywords.h b/tests/auto/tools/moc/no-keywords.h
index ffd5928370..3fa6f089e0 100644
--- a/tests/auto/tools/moc/no-keywords.h
+++ b/tests/auto/tools/moc/no-keywords.h
@@ -39,6 +39,9 @@
**
****************************************************************************/
+#ifndef NO_KEYWORDS_H
+#define NO_KEYWORDS_H
+
#define QT_NO_KEYWORDS
#undef signals
#undef slots
@@ -85,3 +88,4 @@ private:
#define emit
#undef QT_NO_KEYWORDS
+#endif // NO_KEYWORDS_H