From 220e41a42148ad2b652ffaad6b02e965603975b4 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Fri, 7 Nov 2003 09:26:18 +0000 Subject: Move typedef to where it is needed now. --- ext/standard/php_filestat.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ext/standard/php_filestat.h') diff --git a/ext/standard/php_filestat.h b/ext/standard/php_filestat.h index 4e485b24bd..4e7e3a6bb2 100644 --- a/ext/standard/php_filestat.h +++ b/ext/standard/php_filestat.h @@ -75,6 +75,12 @@ PHP_FUNCTION(clearstatcache); #define getuid() 1 #endif +#ifdef PHP_WIN32 +typedef unsigned int php_stat_len; +#else +typedef int php_stat_len; +#endif + PHPAPI void php_stat(const char *filename, php_stat_len filename_length, int type, pval *return_value TSRMLS_DC); /* Switches for various filestat functions: */ -- cgit v1.2.1