sniper Tue Apr 3 03:51:16 2001 EDT
Modified files:
/php4/ext/standard filestat.c
Log:
SCO (and maybe others) do not have this defined.
Index: php4/ext/standard/filestat.c
diff -u php4/ext/standard/filestat.c:1.56 php4/ext/standard/filestat.c:1.57
--- php4/ext/standard/filestat.c:1.56 Sun Feb 25 22:07:17 2001
+++ php4/ext/standard/filestat.c Tue Apr 3 03:51:16 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filestat.c,v 1.56 2001/02/26 06:07:17 andi Exp $ */
+/* $Id: filestat.c,v 1.57 2001/04/03 10:51:16 sniper Exp $ */
#include "php.h"
#include "safe_mode.h"
@@ -551,7 +551,7 @@
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
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]