summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */