]> granicus.if.org Git - php/commit
fix constants availability
authorAnatol Belski <ab@php.net>
Fri, 29 Apr 2016 09:34:54 +0000 (11:34 +0200)
committerAnatol Belski <ab@php.net>
Fri, 29 Apr 2016 09:37:19 +0000 (11:37 +0200)
commit9db8cefa3cfccb2f116e2829f670bae300f8ad11
tree7c720df0a4c4d378fd5a770d18fbfebe3e4ddff8
parent12f826d7df6eceb2fe985fc0dd76b5393566e059
fix constants availability

The issue here is that winsock2 defines IP protocols as an enum,
so the preprocessor won't catch it. However all the items related
are available as of winxp (see ws2def.h), so it's safe just to have.
ext/standard/file.c