Skip to content

Commit

Permalink
build: fix compilation warning on MinGW-w64
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Jun 19, 2014
1 parent 68cd6d6 commit 218f48a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/test-fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,15 @@
# include <io.h>
# define unlink _unlink
# define rmdir _rmdir
# define stat _stati64
# define open _open
# define write _write
# define lseek _lseek
# define close _close
# ifndef stat
# define stat _stati64
# endif
# ifndef lseek
# define lseek _lseek
# endif
#endif

#define TOO_LONG_NAME_LENGTH 65536
Expand Down

0 comments on commit 218f48a

Please sign in to comment.