summaryrefslogtreecommitdiff
path: root/Zend/zend_portability.h
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2016-11-20 19:18:50 +0100
committerBob Weinand <bobwei9@hotmail.com>2016-11-20 19:18:50 +0100
commitbc30206b8ad4975126bd36f48add769d0d9a221a (patch)
treede9accd1aaa58cf9a25293cb9290bac1d6576a26 /Zend/zend_portability.h
parentff5a65d26b139142c5e967582c369ef65b79adf8 (diff)
downloadphp-git-bc30206b8ad4975126bd36f48add769d0d9a221a.tar.gz
Revert "Revert "Remove a few unused write warning""
This reverts commit ff5a65d26b139142c5e967582c369ef65b79adf8. (With zend_ prefix now)
Diffstat (limited to 'Zend/zend_portability.h')
-rw-r--r--Zend/zend_portability.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h
index f187129416..02f58d9878 100644
--- a/Zend/zend_portability.h
+++ b/Zend/zend_portability.h
@@ -125,6 +125,8 @@
# define ZEND_IGNORE_VALUE(x) ((void) (x))
#endif
+#define zend_quiet_write(...) ZEND_IGNORE_VALUE(write(__VA_ARGS__))
+
/* all HAVE_XXX test have to be after the include of zend_config above */
#if defined(HAVE_LIBDL) && !defined(ZEND_WIN32)