Skip to content

Commit

Permalink
Fix: fseeko not found (#262)
Browse files Browse the repository at this point in the history
- it's needed to use a more appropriate CMake command (check_function_exists rather than check_symbol_exists) 
to look for the fseeko function as on some systems it may have been falsely not found.
  • Loading branch information
dnzbk authored May 6, 2024
1 parent f87a24b commit b9e51d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/posix.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ endif()

if(NOT DISABLE_PARCHECK)
check_type_size(size_t SIZE_T)
check_symbol_exists(fseeko "stdio.h" HAVE_FSEEKO)
check_function_exists(fseeko HAVE_FSEEKO)
check_function_exists(getopt HAVE_GETOPT)
else()
set(DISABLE_PARCHECK 1)
Expand Down

0 comments on commit b9e51d4

Please sign in to comment.