Skip to content

Commit

Permalink
Removing __linux__ definition in CMake
Browse files Browse the repository at this point in the history
Removing this definition as this should already be defined by compiler.
This is causing compile errors on newer versions of llvm because the
macro is being redefined.

Change-Id: I3bf03617970d4b76dabce36ed980523673afadc5
  • Loading branch information
searlmc1 committed Jun 2, 2023
1 parent 2d34dc3 commit c8db38e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ if(${BUILD_TYPE} STREQUAL "Debug")
add_definitions(-DDEBUG)
endif()

add_definitions(-D__linux__)
add_definitions(-DLITTLEENDIAN_CPU=1)

#
Expand Down

0 comments on commit c8db38e

Please sign in to comment.