diff options
author | Martin Storsjö <martin@martin.st> | 2013-12-31 10:11:24 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2014-01-06 18:55:04 +0200 |
commit | 9409c9bdbfd829353473ee6cc3e91c726481c069 (patch) | |
tree | d4af65c3621abed6693273dc2880ea0a8205ddb5 /libavcodec/fft-test.c | |
parent | 01d245ef4392152dbdc78a6ba4dfa0a6e8b08e6f (diff) | |
download | ffmpeg-9409c9bdbfd829353473ee6cc3e91c726481c069.tar.gz |
configure: Disable networking if winsock2.h is available but winsock functions aren't
Previously, if neither of the checks for the closesocket function
succeeded, we still kept winsock2.h and networking in general
enabled.
When targeting the WinRT API subset, the winsock2.h header is
available (making the check for it succeed, giving the impression
that winsock is available), but tests that actually try to use
such a function will fail. In this case, disable the winsock2.h
feature and networking in general, as if the winsock2.h header
test would have failed in the first place.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/fft-test.c')
0 files changed, 0 insertions, 0 deletions