From e2eaf6342e4ab21a247af0f0d32702da0b952e60 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sun, 20 May 2001 23:39:09 +0000 Subject: Add support for systems where p{read|write} take a off64_t without being properly prototyped. --- main/php.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'main/php.h') 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, ...); -- cgit v1.2.1