Go to the documentation of this file.
   12 #ifndef ENDIAN_TYPE_HPP 
   13 #define ENDIAN_TYPE_HPP 
   15 #if defined(ARM) || defined(__arm__) || defined(__alpha__) 
   17   #define OTTD_ALIGNMENT 1 
   20   #define OTTD_ALIGNMENT 0 
   24 #define TTD_LITTLE_ENDIAN 0 
   26 #define TTD_BIG_ENDIAN 1 
   29 #if defined(WIN32) || defined(__OS2__) || defined(WIN64) 
   30   #define TTD_ENDIAN TTD_LITTLE_ENDIAN 
   31 #elif !defined(TESTING) 
   33   #if defined(STRGEN) || defined(SETTINGSGEN) 
   34     #include "endian_host.h" 
   36     #include "endian_target.h"