Skip to content

Commit

Permalink
lpm.c: define SYMBOLIC_LINK_FLAG_DIRECTORY and SYMBOLIC_LINK_FLAG_ALL…
Browse files Browse the repository at this point in the history
…OW_UNPRIVILEGED_CREATE
  • Loading branch information
takase1121 committed Dec 4, 2024
1 parent 18a35f6 commit c01d57d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/lpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@
#include <direct.h>
#include <wincrypt.h>
#include <process.h>

#ifndef SYMBOLIC_LINK_FLAG_DIRECTORY
#define SYMBOLIC_LINK_FLAG_DIRECTORY 0x1
#endif
#ifndef SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE
#define SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE 0x2
#endif
#else
#ifndef LPM_NO_THRAEDS
#include <pthread.h>
Expand Down

0 comments on commit c01d57d

Please sign in to comment.