Skip to content

Commit 0fd259e

Browse files
committed
define SYMBOLIC_LINK_FLAG_DIRECTORY if not defined
1 parent c9f116f commit 0fd259e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/win32/posix_w32.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
# define SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE 0x02
3434
#endif
3535

36+
#ifndef SYMBOLIC_LINK_FLAG_DIRECTORY
37+
# define SYMBOLIC_LINK_FLAG_DIRECTORY 0x01
38+
#endif
39+
3640
/* Allowable mode bits on Win32. Using mode bits that are not supported on
3741
* Win32 (eg S_IRWXU) is generally ignored, but Wine warns loudly about it
3842
* so we simply remove them.

0 commit comments

Comments
 (0)