diff options
author | Elizabeth Marie Smith <auroraeosrose@php.net> | 2007-10-09 21:53:44 +0000 |
---|---|---|
committer | Elizabeth Marie Smith <auroraeosrose@php.net> | 2007-10-09 21:53:44 +0000 |
commit | 4e339842fc7037e66f6d543ce7bc855987715c5d (patch) | |
tree | e799388221c2359945a45c2de15e93185a71979e /main/php_network.h | |
parent | 1d0c11f472b4440ed6670c3076a850f18d0272d2 (diff) | |
download | php-git-4e339842fc7037e66f6d543ce7bc855987715c5d.tar.gz |
Fix build on MSVC 2008 - channeling Wez
Diffstat (limited to 'main/php_network.h')
-rw-r--r-- | main/php_network.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php_network.h b/main/php_network.h index 9414f6210b..99392c691f 100644 --- a/main/php_network.h +++ b/main/php_network.h @@ -121,12 +121,14 @@ typedef struct _php_pollfd { PHPAPI int php_poll2(php_pollfd *ufds, unsigned int nfds, int timeout); +#ifndef POLLIN # define POLLIN 0x0001 /* There is data to read */ # define POLLPRI 0x0002 /* There is urgent data to read */ # define POLLOUT 0x0004 /* Writing now will not block */ # define POLLERR 0x0008 /* Error condition */ # define POLLHUP 0x0010 /* Hung up */ # define POLLNVAL 0x0020 /* Invalid request: fd not open */ +#endif # ifndef PHP_USE_POLL_2_EMULATION # define PHP_USE_POLL_2_EMULATION 1 |