summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-02-17 02:08:53 +0000
committersmatz <smatz@openttd.org>2009-02-17 02:08:53 +0000
commitb8471e540105a2d6774d65a054e6facea823a4a6 (patch)
treed8362b79f1dad582122d2e5ff0b5413506038db0
parent42c0faf9e1d8a7ad17299a05f1ea68f2f45ec61e (diff)
downloadopenttd-b8471e540105a2d6774d65a054e6facea823a4a6.tar.xz
(svn r15508) -Fix: three header files had incorrect 'anti-multiple-inclusion' header
-rw-r--r--src/core/endian_func.hpp4
-rw-r--r--src/core/endian_type.hpp4
-rw-r--r--src/misc/dbg_helpers.h6
3 files changed, 7 insertions, 7 deletions
diff --git a/src/core/endian_func.hpp b/src/core/endian_func.hpp
index 2b80ccc68..72fa20d3a 100644
--- a/src/core/endian_func.hpp
+++ b/src/core/endian_func.hpp
@@ -2,8 +2,8 @@
/** @file endian_func.hpp Function to handling different endian machines. */
-#ifndef ENDIAN_FUNC_H
-#define ENDIAN_FUNC_H
+#ifndef ENDIAN_FUNC_HPP
+#define ENDIAN_FUNC_HPP
#include "endian_type.hpp"
#include "bitmath_func.hpp"
diff --git a/src/core/endian_type.hpp b/src/core/endian_type.hpp
index e8dc9ea0c..5d178ea0a 100644
--- a/src/core/endian_type.hpp
+++ b/src/core/endian_type.hpp
@@ -2,8 +2,8 @@
/** @file endian_type.hpp Definition of various endian-dependant macros. */
-#ifndef ENDIAN_TYPE_H
-#define ENDIAN_TYPE_H
+#ifndef ENDIAN_TYPE_HPP
+#define ENDIAN_TYPE_HPP
#if defined(ARM) || defined(__arm__) || defined(__alpha__)
#define OTTD_ALIGNMENT 1
diff --git a/src/misc/dbg_helpers.h b/src/misc/dbg_helpers.h
index 7cbe57810..0cbb1c077 100644
--- a/src/misc/dbg_helpers.h
+++ b/src/misc/dbg_helpers.h
@@ -2,8 +2,8 @@
/** @file dbg_helpers.h Functions to be used for debug printings. */
-#ifndef DBG_HELPERS
-#define DBG_HELPERS
+#ifndef DBG_HELPERS_H
+#define DBG_HELPERS_H
#include <new>
#include <map>
@@ -163,4 +163,4 @@ struct DumpTarget {
}
};
-#endif /* DBG_HELPERS */
+#endif /* DBG_HELPERS_H */