1 # Add the definitions to indicate which endian we are building for.
3 # add_endian_definition()
5 function(add_endian_definition)
7 TEST_BIG_ENDIAN(IS_BIG_ENDIAN)
10 add_definitions(-DTTD_ENDIAN=TTD_BIG_ENDIAN)
12 add_definitions(-DTTD_ENDIAN=TTD_LITTLE_ENDIAN)