summaryrefslogtreecommitdiff
path: root/phpdbg.c
diff options
context:
space:
mode:
authorkrakjoe <joe.watkins@live.co.uk>2013-12-18 10:31:14 +0000
committerkrakjoe <joe.watkins@live.co.uk>2013-12-18 10:31:14 +0000
commit7e0d1938f9e875a96284c217f28a2e7a1995539d (patch)
tree21fe5dbe7f9376b8103968d51dcdb6e6573891b4 /phpdbg.c
parent5cc9a35f1b96499c00a1336275e4ffe120bb69db (diff)
downloadphp-git-7e0d1938f9e875a96284c217f28a2e7a1995539d.tar.gz
fix warnings/50700 stuff
Diffstat (limited to 'phpdbg.c')
-rw-r--r--phpdbg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpdbg.c b/phpdbg.c
index c6d44ba3ae..ba40b15d71 100644
--- a/phpdbg.c
+++ b/phpdbg.c
@@ -499,9 +499,14 @@ static inline int php_sapi_phpdbg_ub_write(const char *message, unsigned int len
return phpdbg_write("%s", message);
} /* }}} */
+#if PHP_VERSION_ID >= 50700
+static inline void php_sapi_phpdbg_flush(void *context TSRMLS_DC) /* {{{ */
+{
+#else
static inline void php_sapi_phpdbg_flush(void *context) /* {{{ */
{
TSRMLS_FETCH();
+#endif
fflush(PHPDBG_G(io)[PHPDBG_STDOUT]);
} /* }}} */