diff options
author | Anatol Belski <ab@php.net> | 2015-05-25 18:07:47 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-05-25 18:07:47 +0200 |
commit | cf50748f2ba16cef1d2931c0d8afc717dea8eab7 (patch) | |
tree | 66381bbde48cd2e1ea1c4850d351fbbbd0131829 | |
parent | c444c4172f219b7461e2d38e1bbd87f9eeb2a0cd (diff) | |
download | php-git-cf50748f2ba16cef1d2931c0d8afc717dea8eab7.tar.gz |
move S_IFLNK define into header
-rw-r--r-- | Zend/zend_virtual_cwd.c | 4 | ||||
-rw-r--r-- | Zend/zend_virtual_cwd.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Zend/zend_virtual_cwd.c b/Zend/zend_virtual_cwd.c index 5762666e6c..330fff187d 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 64f78fe4af..019888757f 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 |