diff options
Diffstat (limited to 'main/streams.c')
| -rwxr-xr-x | main/streams.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/streams.c b/main/streams.c index 5e52851464..3b58318036 100755 --- a/main/streams.c +++ b/main/streams.c @@ -34,6 +34,7 @@ #define MAP_FAILED ((void *) -1) #endif +#define CHUNK_SIZE 8192 #ifdef PHP_WIN32 #define EWOULDBLOCK WSAEWOULDBLOCK @@ -227,8 +228,6 @@ PHPAPI int php_stream_seek(php_stream *stream, off_t offset, int whence) return -1; } -#define CHUNK_SIZE 8192 - PHPAPI size_t php_stream_read_all(php_stream *src, char **buf, int persistent) { size_t ret = 0; |
