diff options
author | foobar <sniper@php.net> | 2001-04-03 10:51:16 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2001-04-03 10:51:16 +0000 |
commit | 83b5a2fb0c77b3d508c82c8838d080e120a01159 (patch) | |
tree | 056f8d2a245d9b50cef0e36bfd570c1c3efd7299 | |
parent | c20a6ff9dc2f9b877cca1d8bf9b50997e80298b8 (diff) | |
download | php-git-83b5a2fb0c77b3d508c82c8838d080e120a01159.tar.gz |
SCO (and maybe others) do not have this defined.
-rw-r--r-- | ext/standard/filestat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/filestat.c b/ext/standard/filestat.c index 621e49bfcd..95ef0bcf17 100644 --- a/ext/standard/filestat.c +++ b/ext/standard/filestat.c @@ -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 } |