]> granicus.if.org Git - php/commitdiff
This should be this (broken compiling before)
authorXinchen Hui <laruence@php.net>
Mon, 19 May 2014 02:26:10 +0000 (10:26 +0800)
committerXinchen Hui <laruence@php.net>
Mon, 19 May 2014 02:26:10 +0000 (10:26 +0800)
ext/session/mod_files.c

index 2c2b0fa555aa56112fcc0152f4d91b5171d6846c..33669852793a2d96793e3a9f3303669d4373fd5c 100644 (file)
@@ -121,7 +121,7 @@ static void ps_files_close(ps_files *data)
 static void ps_files_open(ps_files *data, const char *key TSRMLS_DC)
 {
        char buf[MAXPATHLEN];
-#ifdef O_NOFOLLOW
+#if !defined(O_NOFOLLOW) || !defined(PHP_WIN32)
     struct stat sbuf;
 #endif