Skip to content

Commit 20fd9e2

Browse files
richardlaucjihrig
authored andcommitted
fix '_lseeki64' undefined compiler warning
Fixes the following compiler warning on Windows: `'_lseeki64' undefined; assuming extern returning int`
1 parent 676ba9a commit 20fd9e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/uvwasi.c

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# define SLASH_STR "/"
1212
# define IS_SLASH(c) ((c) == '/')
1313
#else
14+
# include <io.h>
1415
# define SLASH '\\'
1516
# define SLASH_STR "\\"
1617
# define IS_SLASH(c) ((c) == '/' || (c) == '\\')

0 commit comments

Comments
 (0)