Skip to content

Commit

Permalink
Fix fseeko64 build break on Apple.
Browse files Browse the repository at this point in the history
It's amazing how difficult it is to do a 64-bit seek in an OS-agnostic
fashion. This change converts fseeko64 to fseeko on Darwin.
  • Loading branch information
evangreen committed Nov 2, 2016
1 parent 43c88ee commit 5f5e26b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/ck/modules/bundle/bundle.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ Module Name:

#endif

#ifdef __APPLE__

#define fseeko64 fseeko

#endif

//
// ---------------------------------------------------------------- Definitions
//
Expand Down

0 comments on commit 5f5e26b

Please sign in to comment.