OpenTTD Source: src/core/endian_type.hpp File Reference

OpenTTD Source 15.0-beta1

Macros
endian_type.hpp File Reference

Definition of various endian-dependant macros. More...

Go to the source code of this file.

## Macros
#define | TTD_LITTLE_ENDIAN 0
| Little endian builds use this for TTD_ENDIAN.
#define | TTD_BIG_ENDIAN 1
| Big endian builds use this for TTD_ENDIAN.

## Detailed Description

Definition of various endian-dependant macros.

Definition in file endian_type.hpp.

## Macro Definition Documentation

## ◆ TTD_BIG_ENDIAN

#define TTD_BIG_ENDIAN 1

Big endian builds use this for TTD_ENDIAN.

Definition at line 16 of file endian_type.hpp.

## ◆ TTD_LITTLE_ENDIAN

#define TTD_LITTLE_ENDIAN 0

Little endian builds use this for TTD_ENDIAN.

Definition at line 14 of file endian_type.hpp.