mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
* Fixed #8090: Duplicate definition of strndup * Moved strndup detection to winpr Co-authored-by: Armin Novak <anovak@thincast.com>
This commit is contained in:
@@ -312,12 +312,6 @@ if(NOT IOS)
|
||||
find_package(Threads REQUIRED)
|
||||
endif()
|
||||
|
||||
if (IOS)
|
||||
set(HAVE_STRNDUP 1)
|
||||
else()
|
||||
CHECK_SYMBOL_EXISTS(strndup string.h HAVE_STRNDUP)
|
||||
endif()
|
||||
|
||||
# Enable address sanitizer, where supported and when required
|
||||
if(${CMAKE_C_COMPILER_ID} STREQUAL "Clang" OR CMAKE_COMPILER_IS_GNUCC)
|
||||
CHECK_C_COMPILER_FLAG ("-fno-omit-frame-pointer" fno-omit-frame-pointer)
|
||||
|
||||
Reference in New Issue
Block a user