Skip to content

Commit

Permalink
Define glob64
Browse files Browse the repository at this point in the history
  • Loading branch information
jart committed Oct 12, 2024
1 parent 706cb66 commit 5edc081
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions third_party/musl/glob.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,11 @@ typedef struct {
int glob(const char *, int, int (*)(const char *, int), glob_t *);
void globfree(glob_t *);

#ifdef _LARGEFILE64_SOURCE
#define glob64 glob
#define globfree64 globfree
#define glob64_t glob_t
#endif

COSMOPOLITAN_C_END_
#endif /* COSMOPOLITAN_THIRD_PARTY_MUSL_GLOB_H_ */

0 comments on commit 5edc081

Please sign in to comment.