$NetBSD: patch-ab,v 1.1 1999/05/03 19:45:44 tv Exp $ --- php.h.orig Sun May 2 15:38:36 1999 +++ php.h Sun May 2 15:49:49 1999 @@ -309,6 +309,24 @@ # endif #endif +#ifndef PHP_INTERNAL_FUNCS +#undef PUTS +#undef PUTC +#undef PHPWRITE +#undef BLOCK_INTERRUPTIONS +#undef UNBLOCK_INTERRUPTIONS +extern PHPAPI void _php3_puts(const char *s); +extern PHPAPI void _php3_putc(char c); +extern PHPAPI int _php3_write(const void *a, int n); +extern PHPAPI void _php3_block_interruptions(void); +extern PHPAPI void _php3_unblock_interruptions(void); +#define PUTS(a) _php3_puts(a) +#define PUTC(a) _php3_putc(a) +#define PHPWRITE(a,n) _php3_write((a),(n)) +#define BLOCK_INTERRUPTIONS _php3_block_interruptions() +#define UNBLOCK_INTERRUPTIONS _php3_unblock_interruptions() +#endif + #define E_ERROR 0x1 #define E_WARNING 0x2 #define E_PARSE 0x4