Skip to content

Commit

Permalink
fix largefile-check macro for largefile
Browse files Browse the repository at this point in the history
main() without a return type fails with Werror=implicit-int, which makes
it fail to detect largefile support with clang 16
  • Loading branch information
nekopsykose authored and rdmark committed Feb 7, 2023
1 parent 398ff3f commit 3ac1d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macros/largefile-check.m4
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ if test "$enable_largefile" != no; then
AC_TRY_RUN([#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
main() { exit((sizeof(off_t) == 8) ? 0 : 1); }],
int main() { exit((sizeof(off_t) == 8) ? 0 : 1); }],
netatalk_cv_SIZEOF_OFF_T=yes,netatalk_cv_SIZEOF_OFF_T=no,netatalk_cv_SIZEOF_OFF_T=cross)])
AC_MSG_CHECKING([if large file support is available])
Expand Down

0 comments on commit 3ac1d93

Please sign in to comment.