From c8db38ede26422066d0faaf4e736eb6dad9b8529 Mon Sep 17 00:00:00 2001 From: Mark Searles Date: Tue, 30 May 2023 13:19:07 -0700 Subject: [PATCH] Removing __linux__ definition in CMake 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 --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cbcf9d096e..ce135316d7 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -123,7 +123,6 @@ if(${BUILD_TYPE} STREQUAL "Debug") add_definitions(-DDEBUG) endif() -add_definitions(-D__linux__) add_definitions(-DLITTLEENDIAN_CPU=1) #