diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/lineedit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 95f92aa75..9e24d410d 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -45,6 +45,9 @@ | |||
45 | # define _POSIX_VDISABLE '\0' | 45 | # define _POSIX_VDISABLE '\0' |
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | #if ENABLE_PLATFORM_MINGW32 | ||
49 | # define geteuid() (is_admin() ? 0 : DEFAULT_UID) | ||
50 | #endif | ||
48 | 51 | ||
49 | #ifdef TEST | 52 | #ifdef TEST |
50 | # define ENABLE_FEATURE_EDITING 0 | 53 | # define ENABLE_FEATURE_EDITING 0 |