Skip to content

Commit

Permalink
Check for fseeko64 - fixes broken macro in buf.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Vieth committed Jul 10, 2017
1 parent f9a0105 commit ed1128b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ set ( HAVE_VARARG_MACROS 0 )
include ( CheckFunctionExists )
check_function_exists ( alloca HAVE_ALLOCA )
check_function_exists ( fseeko HAVE_FSEEKO )
check_function_exists ( fseeko64 HAVE_FSEEKO64 )
check_function_exists ( memmove HAVE_MEMMOVE )
check_function_exists ( memset HAVE_MEMSET )
check_function_exists ( snprintf HAVE_SNPRINTF )
Expand Down
3 changes: 3 additions & 0 deletions src/config.h.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
#cmakedefine HAVE_FSEEKO 1

/* Define to 1 if fseeko64 (and presumably ftello64) exists and is declared. */
#cmakedefine HAVE_FSEEKO64 1

/* Define to 1 if you have the <inttypes.h> header file. */
#cmakedefine HAVE_INTTYPES_H 1

Expand Down

0 comments on commit ed1128b

Please sign in to comment.