summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/moc/cxx11-enums.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools/moc/cxx11-enums.h')
-rw-r--r--tests/auto/tools/moc/cxx11-enums.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/cxx11-enums.h b/tests/auto/tools/moc/cxx11-enums.h
index 0bd99b762c..215ae093d9 100644
--- a/tests/auto/tools/moc/cxx11-enums.h
+++ b/tests/auto/tools/moc/cxx11-enums.h
@@ -38,6 +38,9 @@
** $QT_END_LICENSE$
**
****************************************************************************/
+
+#ifndef CXX11_ENUMS_H
+#define CXX11_ENUMS_H
#include <QtCore/QObject>
#if defined(Q_COMPILER_CLASS_ENUM) || defined(Q_MOC_RUN)
@@ -64,3 +67,4 @@ public:
enum TypedEnum { B0, B1 , B2, B3 };
};
#endif
+#endif // CXX11_ENUMS_H