summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/macro-on-cmdline.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/macro-on-cmdline.h')
-rw-r--r--tests/auto/tools/moc/macro-on-cmdline.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/macro-on-cmdline.h b/tests/auto/tools/moc/macro-on-cmdline.h
index 9609b7cd31..681340471d 100644
--- a/tests/auto/tools/moc/macro-on-cmdline.h
+++ b/tests/auto/tools/moc/macro-on-cmdline.h
@@ -39,6 +39,9 @@
**
****************************************************************************/
+#ifndef MACRO_ON_CMDLINE_H
+#define MACRO_ON_CMDLINE_H
+
#if FOO
class Test : public QObject
@@ -48,3 +51,4 @@ public:
};
#endif
+#endif // MACRO_ON_CMDLINE_H