diff options
author | Anatol Belski <ab@php.net> | 2014-08-25 20:57:25 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-25 20:57:25 +0200 |
commit | 455741fce3c4f4392deb97775cba7a39f6490271 (patch) | |
tree | 6c6502ab5b26ae10df7773dfae0e714fa931ee97 /main/php_streams.h | |
parent | 54102822583912de26bb6c7cc2d0c609952a4775 (diff) | |
download | php-git-455741fce3c4f4392deb97775cba7a39f6490271.tar.gz |
master renames phase 4
Diffstat (limited to 'main/php_streams.h')
-rw-r--r-- | main/php_streams.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/main/php_streams.h b/main/php_streams.h index 1daa0d9d67..ad9ea92c1c 100644 --- a/main/php_streams.h +++ b/main/php_streams.h @@ -26,6 +26,8 @@ #endif #include <sys/types.h> #include <sys/stat.h> +#include "zend.h" +#include "zend_stream.h" BEGIN_EXTERN_C() PHPAPI int php_file_le_stream(void); @@ -103,16 +105,6 @@ typedef struct _php_stream_filter php_stream_filter; #include "streams/php_stream_context.h" #include "streams/php_stream_filter_api.h" -#ifdef _WIN64 -# define php_fstat _fstat64 -# define php_stat_fn _stat64 -typedef struct __stat64 zend_stat_t; -#else -# define php_fstat fstat -# define php_stat_fn stat -typedef struct stat zend_stat_t; -#endif - typedef struct _php_stream_statbuf { zend_stat_t sb; /* regular info */ /* extended info to go here some day: content-type etc. etc. */ |