Files @ r24626:554ba2cc360c
Branch filter:

Location: cpp/openttd-patchpack/source/cmake/Endian.cmake

translators
Update: Translations from eints
korean: 4 changes by telk5093
finnish: 4 changes by hpiirai
catalan: 11 changes by J0anJosep
# Add the definitions to indicate which endian we are building for.
#
# add_endian_definition()
#
function(add_endian_definition)
    include(TestBigEndian)
    TEST_BIG_ENDIAN(IS_BIG_ENDIAN)

    if(IS_BIG_ENDIAN)
        add_definitions(-DTTD_ENDIAN=TTD_BIG_ENDIAN)
    else()
        add_definitions(-DTTD_ENDIAN=TTD_LITTLE_ENDIAN)
    endif()
endfunction()