network: Define ENOTCONN as WSAENOTCONN if not defined
authorMartin Storsjö <martin@martin.st>
Wed, 11 Dec 2019 12:18:43 +0000 (14:18 +0200)
committerMartin Storsjö <martin@martin.st>
Wed, 11 Dec 2019 20:18:09 +0000 (22:18 +0200)
commit6569e9505c781468092c15fa84d034c9e37d26ca
treea3f8c0cd0b553808bd03579d69c4129ffd8ee5e0
parent5fc3099cafc8b89fd4a9524ad1ff324b386bca67
network: Define ENOTCONN as WSAENOTCONN if not defined

This fixes compilation with old mingw.org toolchains, which has got
much fewer errno.h entries.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/network.h