com php-src: move S_IFLNK define into header: Zend/ zend_virtual_cwd.c Zend/zend_virtual_cwd.h

From: Date: Mon, 25 May 2015 16:07:47 +0000
Subject: com php-src: move S_IFLNK define into header: Zend/ zend_virtual_cwd.c Zend/zend_virtual_cwd.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-86908@lists.php.net to get a copy of this message
Commit: cf50748f2ba16cef1d2931c0d8afc717dea8eab7 Author: Anatol Belski <ab@php.net> Mon, 25 May 2015 18:07:47 +0200 Parents: c444c4172f219b7461e2d38e1bbd87f9eeb2a0cd Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cf50748f2ba16cef1d2931c0d8afc717dea8eab7 Log: move S_IFLNK define into header Changed paths: M Zend/zend_virtual_cwd.c M Zend/zend_virtual_cwd.h Diff: diff --git a/Zend/zend_virtual_cwd.c b/Zend/zend_virtual_cwd.c index 5762666..330fff1 100644 --- a/Zend/zend_virtual_cwd.c +++ b/Zend/zend_virtual_cwd.c @@ -54,10 +54,6 @@ # endif #endif -#ifndef S_IFLNK -# define S_IFLNK 0120000 -#endif - #ifdef NETWARE #include <fsio.h> #endif diff --git a/Zend/zend_virtual_cwd.h b/Zend/zend_virtual_cwd.h index 64f78fe..0198887 100644 --- a/Zend/zend_virtual_cwd.h +++ b/Zend/zend_virtual_cwd.h @@ -346,6 +346,10 @@ CWD_API realpath_cache_bucket** realpath_cache_get_buckets(void); #define _S_IFREG S_IFREG #endif +#ifndef S_IFLNK +# define S_IFLNK 0120000 +#endif + #ifndef S_ISDIR #define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) #endif

« previous php.cvs (#86908) next »