summaryrefslogtreecommitdiff
path: root/src/core/endian_type.hpp
diff options
context:
space:
mode:
authorTechGeekNZ <git@tech.geek.nz>2020-07-03 09:36:10 +1200
committerNiels Martin Hansen <nielsm@indvikleren.dk>2020-07-03 09:08:46 +0200
commit716c883737b76757e0f3bcddeacc1e276dfff13b (patch)
treeafd30f0dc704eb6264499b1999a2a0f9d48d69f8 /src/core/endian_type.hpp
parent97592c409378c2d353a1cdd6b50f80b7e81b67c2 (diff)
downloadopenttd-716c883737b76757e0f3bcddeacc1e276dfff13b.tar.xz
Fix: Globally apply preprocessor directive coding style
Global; except for the 32-bit SSE blitter, which has some #DEFINEs in not-very-nice places.
Diffstat (limited to 'src/core/endian_type.hpp')
-rw-r--r--src/core/endian_type.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/endian_type.hpp b/src/core/endian_type.hpp
index e1add251e..f7cae53a8 100644
--- a/src/core/endian_type.hpp
+++ b/src/core/endian_type.hpp
@@ -12,10 +12,10 @@
#if defined(ARM) || defined(__arm__) || defined(__alpha__)
/** The architecture requires aligned access. */
- #define OTTD_ALIGNMENT 1
+# define OTTD_ALIGNMENT 1
#else
/** The architecture does not require aligned access. */
- #define OTTD_ALIGNMENT 0
+# define OTTD_ALIGNMENT 0
#endif
/** Little endian builds use this for TTD_ENDIAN. */