From 8258146625050d242b9bc3dc5f175985feb5e2bd Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 9 Jan 2006 16:56:41 +0000 Subject: Generalise lstat fallback. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@429 fefdeb5f-60dc-0310-8127-8f9354f1896f --- polyp/util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'polyp') 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; -- cgit