mirror of
https://github.com/php/php-src.git
synced 2026-04-14 19:41:05 +02:00
SCO (and maybe others) do not have this defined.
This commit is contained in:
@@ -551,7 +551,7 @@ static void php_stat(const char *filename, int type, pval *return_value)
|
||||
case S_IFDIR: RETURN_STRING("dir",1);
|
||||
case S_IFBLK: RETURN_STRING("block",1);
|
||||
case S_IFREG: RETURN_STRING("file",1);
|
||||
#if !defined(ZEND_WIN32)&&!defined(__BEOS__)
|
||||
#if defined(S_IFSOCK) && !defined(ZEND_WIN32)&&!defined(__BEOS__)
|
||||
case S_IFSOCK: RETURN_STRING("socket",1);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user