summaryrefslogtreecommitdiff
path: root/Zend/zend_virtual_cwd.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2015-05-25 18:07:47 +0200
committerAnatol Belski <ab@php.net>2015-05-25 18:07:47 +0200
commitcf50748f2ba16cef1d2931c0d8afc717dea8eab7 (patch)
tree66381bbde48cd2e1ea1c4850d351fbbbd0131829 /Zend/zend_virtual_cwd.h
parentc444c4172f219b7461e2d38e1bbd87f9eeb2a0cd (diff)
downloadphp-git-cf50748f2ba16cef1d2931c0d8afc717dea8eab7.tar.gz
move S_IFLNK define into header
Diffstat (limited to 'Zend/zend_virtual_cwd.h')
-rw-r--r--Zend/zend_virtual_cwd.h4
1 files changed, 4 insertions, 0 deletions
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