Skip to content

Commit

Permalink
fileio.c: define ssize_t by ourselves for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Aug 12, 2024
1 parent e1ba63a commit e8d377c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/fileio.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#define O_BINARY _O_BINARY
#define read _read
#define close _close
typedef int ssize_t;
#else
#include <unistd.h>
#define O_BINARY 0
Expand Down

0 comments on commit e8d377c

Please sign in to comment.