1
0
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:
foobar
2001-04-03 10:51:16 +00:00
parent c20a6ff9dc
commit 83b5a2fb0c

View File

@@ -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
}