summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2cpp/Gen.h')
-rw-r--r--cpp/src/slice2cpp/Gen.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.h b/cpp/src/slice2cpp/Gen.h
index 941b2a90e12..9d05ca2a8b5 100644
--- a/cpp/src/slice2cpp/Gen.h
+++ b/cpp/src/slice2cpp/Gen.h
@@ -7,7 +7,8 @@
//
// **********************************************************************
-#pragma once
+#ifndef GEN_H
+#define GEN_H
#include <Slice/Parser.h>
#include <IceUtil/OutputUtil.h>
@@ -450,3 +451,5 @@ private:
};
}
+
+#endif