diff options
Diffstat (limited to 'polyp/util.c')
-rw-r--r-- | polyp/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/polyp/util.c b/polyp/util.c index f1f4b2c5..b2f61d57 100644 --- a/polyp/util.c +++ b/polyp/util.c @@ -139,10 +139,10 @@ int pa_make_secure_dir(const char* dir) { if (errno != EEXIST) return -1; -#ifdef OS_IS_WIN32 - if (stat(dir, &st) < 0) -#else +#ifdef HAVE_LSTAT if (lstat(dir, &st) < 0) +#else + if (stat(dir, &st) < 0) #endif goto fail; |