diff options
Diffstat (limited to 'rts')
-rw-r--r-- | rts/RtsFlags.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/RtsFlags.c b/rts/RtsFlags.c index c3784ad2ee..bd2bf6748d 100644 --- a/rts/RtsFlags.c +++ b/rts/RtsFlags.c @@ -536,7 +536,7 @@ void setupRtsFlags (int *argc, char *argv[]) static void checkSuid(RtsOptsEnabledEnum enabled) { -#if defined(HAVE_UNISTD_H) && defined(HAVE_SYS_TYPES_H) +#if defined(HAVE_UNISTD_H) && defined(HAVE_SYS_TYPES_H) && !defined(mingw32_HOST_OS) if (enabled == RtsOptsSafeOnly) { /* This doesn't cover linux/posix capabilities like CAP_DAC_OVERRIDE, we'd have to link with -lcap for that. */ |