Skip to content

Commit

Permalink
fix void pointer test
Browse files Browse the repository at this point in the history
  • Loading branch information
maxbachmann authored Aug 2, 2023
1 parent d146c89 commit c6dc411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rapidfuzz/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ if(NOT Windows)
#include <cstddef>
std::atomic<int> x{0};
int main() {
x.fetch_add(1, std::memory_order_relaxed);
auto c = x.load(std::memory_order_relaxed)
return 0;
}
]=])
Expand All @@ -123,7 +123,7 @@ if(NOT Windows)
set(CMAKE_REQUIRED_FLAGS "-std=c++11")
endif()
check_cxx_source_compiles("${ATOMICS_TEST_SOURCE}"
HAVE_CXX_ATOMICS_INT_WITHOUT_LIB)
\\)
check_cxx_source_compiles("${ATOMICS_SIZE_T_TEST_SOURCE}"
HAVE_CXX_ATOMICS_SIZE_T_WITHOUT_LIB)
check_cxx_source_compiles("${ATOMICS_VOID_PTR_TEST_SOURCE}"
Expand Down

0 comments on commit c6dc411

Please sign in to comment.