]> granicus.if.org Git - php/commitdiff
Move typedef to where it is needed now.
authorMarcus Boerger <helly@php.net>
Fri, 7 Nov 2003 09:26:18 +0000 (09:26 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 7 Nov 2003 09:26:18 +0000 (09:26 +0000)
ext/standard/basic_functions.h
ext/standard/php_filestat.h

index 60a22497395d23bc3624b7e389528400f70ad130..6ef8b91be9dc905c1e9a5bf5dab1e55d83d99694 100644 (file)
@@ -28,6 +28,8 @@
 #include <wchar.h>
 #endif
 
+#include "php_filestat.h"
+
 #include "zend_highlight.h"
 
 #include "url_scanner.h"
@@ -120,12 +122,6 @@ PHP_FUNCTION(stream_bucket_new);
 PHP_MINIT_FUNCTION(user_filters);
 PHP_RSHUTDOWN_FUNCTION(user_filters);
 
-#ifdef PHP_WIN32
-typedef unsigned int php_stat_len;
-#else
-typedef int php_stat_len;
-#endif
-
 PHPAPI int _php_error_log(int opt_err, char *message, char *opt, char *headers TSRMLS_DC);
 
 #if SIZEOF_INT == 4
index 4e485b24bd74dcff0fbcc12609334aa1bd5c804d..4e7e3a6bb2bf07eb31a6062f491276f9b08c53c3 100644 (file)
@@ -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: */