Skip to content

Commit

Permalink
include/share/compat.h : use fseek if fseeko is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 authored and ktmf01 committed Apr 22, 2024
1 parent 5f6a352 commit 9977bb5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/share/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,16 @@
#endif
#endif
#else
#ifndef HAVE_FSEEKO
#define fseeko fseek
#define ftello ftell
#define FLAC__off_t long
#define FLAC__OFF_T_MAX LONG_MAX
#else
#define FLAC__off_t off_t
#define FLAC__OFF_T_MAX OFF_T_MAX
#endif
#endif



Expand Down

0 comments on commit 9977bb5

Please sign in to comment.