summaryrefslogtreecommitdiff
path: root/cpp/src/slice2confluence
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2confluence')
-rw-r--r--cpp/src/slice2confluence/ConfluenceOutput.h14
-rw-r--r--cpp/src/slice2confluence/Gen.h5
2 files changed, 8 insertions, 11 deletions
diff --git a/cpp/src/slice2confluence/ConfluenceOutput.h b/cpp/src/slice2confluence/ConfluenceOutput.h
index 5caa7521e50..90d02809368 100644
--- a/cpp/src/slice2confluence/ConfluenceOutput.h
+++ b/cpp/src/slice2confluence/ConfluenceOutput.h
@@ -1,13 +1,5 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2012 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice is licensed to you under the terms described in the
-// ICE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-#pragma once
+#ifndef CONFLUENCE_OUTPUT
+#define CONFLUENCE_OUTPUT
#include <IceUtil/OutputUtil.h>
#include <list>
@@ -196,3 +188,5 @@ operator<<(ConfluenceOutput& o, const EndEscapes&)
ConfluenceOutput& operator<<(ConfluenceOutput&, std::ios_base& (*)(std::ios_base&));
}
+
+#endif
diff --git a/cpp/src/slice2confluence/Gen.h b/cpp/src/slice2confluence/Gen.h
index 2b563fe04b4..65469d5dc05 100644
--- a/cpp/src/slice2confluence/Gen.h
+++ b/cpp/src/slice2confluence/Gen.h
@@ -7,7 +7,8 @@
//
// **********************************************************************
-#pragma once
+#ifndef GEN_H
+#define GEN_H
#include <Slice/Parser.h>
#include <IceUtil/OutputUtil.h>
@@ -291,3 +292,5 @@ private:
};
}
+
+#endif