summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/dollars.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/dollars.h')
-rw-r--r--tests/auto/tools/moc/dollars.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/dollars.h b/tests/auto/tools/moc/dollars.h
index 8fab45559c..b136b00881 100644
--- a/tests/auto/tools/moc/dollars.h
+++ b/tests/auto/tools/moc/dollars.h
@@ -39,6 +39,9 @@
**
****************************************************************************/
+#ifndef DOLLARS_H
+#define DOLLARS_H
+
/* both GCC and clang allow $ in identifiers
* So moc should not throw a parse error if it parses a file that contains such identifiers
*/
@@ -68,3 +71,4 @@ namespace $NS {
};
}
+#endif // DOLLARS_H