fix '_lseeki64' undefined compiler warning · nodejs/uvwasi@20fd9e2

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 20fd9e2

richardlaucjihrig

authored and

committed

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

Lines changed: 1 addition & 0 deletions

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)