Skip to content

Commit a7e70eb

Browse files
authored
Remove apple-specific pthread_getname compile definition (#1224)
Co-authored-by: Yadhukrishnan Pankajakshan <>
1 parent 31578be commit a7e70eb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

cmake/AwsThreadName.cmake

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,6 @@ function(aws_set_thread_name_method target)
5252
endfunction()
5353

5454
function(aws_set_thread_name_getter_method target)
55-
if (APPLE)
56-
# All Apple platforms we support have the same function, so no need for
57-
# compile-time check.
58-
target_compile_definitions(${target} PRIVATE -DAWS_PTHREAD_GETNAME_TAKES_3ARGS)
59-
return()
60-
endif()
61-
6255
# Some platforms have 2 arg version
6356
check_c_source_compiles("
6457
${c_source_start}

0 commit comments

Comments
 (0)