aboutsummaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/mingw.c2
-rw-r--r--win32/process.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/win32/mingw.c b/win32/mingw.c
index 0a1af6b72..fd670ebf6 100644
--- a/win32/mingw.c
+++ b/win32/mingw.c
@@ -1136,7 +1136,7 @@ char *get_user_name(void)
1136 return user_name; 1136 return user_name;
1137} 1137}
1138 1138
1139#if ENABLE_RUNUSER 1139#if ENABLE_RUNUSER || ENABLE_DROP
1140/* 1140/*
1141 * When runuser drops privileges TokenIsElevated still returns TRUE. 1141 * When runuser drops privileges TokenIsElevated still returns TRUE.
1142 * Use other means to determine if we're actually unprivileged. 1142 * Use other means to determine if we're actually unprivileged.
diff --git a/win32/process.c b/win32/process.c
index a0678f50d..7db7741fd 100644
--- a/win32/process.c
+++ b/win32/process.c
@@ -204,7 +204,7 @@ quote_arg(const char *arg)
204 return q; 204 return q;
205} 205}
206 206
207static char * 207char *
208find_first_executable(const char *name) 208find_first_executable(const char *name)
209{ 209{
210 char *tmp, *path = getenv("PATH"); 210 char *tmp, *path = getenv("PATH");