Skip to content

Commit

Permalink
fix '_lseeki64' undefined compiler warning
Browse files Browse the repository at this point in the history
Fixes the following compiler warning on Windows:
`'_lseeki64' undefined; assuming extern returning int`
  • Loading branch information
richardlau authored and cjihrig committed Jan 10, 2020
1 parent 676ba9a commit 20fd9e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/uvwasi.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
# define SLASH_STR "/"
# define IS_SLASH(c) ((c) == '/')
#else
# include <io.h>
# define SLASH '\\'
# define SLASH_STR "\\"
# define IS_SLASH(c) ((c) == '/' || (c) == '\\')
Expand Down

0 comments on commit 20fd9e2

Please sign in to comment.