diff options
| -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 |
