diff options
author | Sascha Schumann <sas@php.net> | 2001-05-20 23:39:09 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2001-05-20 23:39:09 +0000 |
commit | e2eaf6342e4ab21a247af0f0d32702da0b952e60 (patch) | |
tree | 6f96820212c90ced51581fda713a2da5f203f478 /main/php.h | |
parent | 4e545c1d736521dc07bb9e22906f88b3f538a97d (diff) | |
download | php-git-e2eaf6342e4ab21a247af0f0d32702da0b952e60.tar.gz |
Add support for systems where p{read|write} take a off64_t without
being properly prototyped.
Diffstat (limited to 'main/php.h')
-rw-r--r-- | main/php.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h index f887726746..533d39ae1c 100644 --- a/main/php.h +++ b/main/php.h @@ -238,6 +238,14 @@ extern char **environ; #define php_sleep sleep #endif +#ifdef PHP_PWRITE_64 +ssize_t pwrite(int, void *, size_t, off64_t); +#endif + +#ifdef PHP_PREAD_64 +ssize_t pread(int, void *, size_t, off64_t); +#endif + void phperror(char *error); PHPAPI int php_write(void *buf, uint size); PHPAPI int php_printf(const char *format, ...); |