diff options
author | krakjoe <joe.watkins@live.co.uk> | 2013-12-18 10:31:14 +0000 |
---|---|---|
committer | krakjoe <joe.watkins@live.co.uk> | 2013-12-18 10:31:14 +0000 |
commit | 7e0d1938f9e875a96284c217f28a2e7a1995539d (patch) | |
tree | 21fe5dbe7f9376b8103968d51dcdb6e6573891b4 /phpdbg.c | |
parent | 5cc9a35f1b96499c00a1336275e4ffe120bb69db (diff) | |
download | php-git-7e0d1938f9e875a96284c217f28a2e7a1995539d.tar.gz |
fix warnings/50700 stuff
Diffstat (limited to 'phpdbg.c')
-rw-r--r-- | phpdbg.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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]); } /* }}} */ |