From fb5ecb94992e7febf4bc059cb6ec4a51f50c66b0 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 2 May 2011 17:42:12 +0000 Subject: (svn r22411) -Document: another bunch of bits --- src/core/endian_type.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/core/endian_type.hpp') diff --git a/src/core/endian_type.hpp b/src/core/endian_type.hpp index ad0b814c6..dbb7faec6 100644 --- a/src/core/endian_type.hpp +++ b/src/core/endian_type.hpp @@ -13,12 +13,16 @@ #define ENDIAN_TYPE_HPP #if defined(ARM) || defined(__arm__) || defined(__alpha__) + /** The architecture requires aligned access. */ #define OTTD_ALIGNMENT 1 #else + /** The architecture does not require aligned access. */ #define OTTD_ALIGNMENT 0 #endif +/** Little endian builds use this for TTD_ENDIAN. */ #define TTD_LITTLE_ENDIAN 0 +/** Big endian builds use this for TTD_ENDIAN. */ #define TTD_BIG_ENDIAN 1 /* Windows has always LITTLE_ENDIAN */ -- cgit v1.2.3-54-g00ecf