diff --git a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt index b2fcc89..8b03c15 100644 --- a/tests/unit/CMakeLists.txt +++ b/tests/unit/CMakeLists.txt @@ -22,9 +22,6 @@ macro(add_postsrsd_test name) target_compile_definitions( ${name}_executable PRIVATE _GNU_SOURCE _FILE_OFFSET_BITS=64 ) - if(HAVE_CLOSE_RANGE_GNU AND NOT HAVE_CLOSE_RANGE) - target_compile_definitions(${name}_executable PRIVATE _GNU_SOURCE) - endif() target_link_libraries(${name}_executable PRIVATE Check::check) target_compile_features(${name}_executable PRIVATE c_std_99) if(TESTS_WITH_ASAN)