diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-10-31 12:32:41 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-11-03 09:10:54 +0100 |
commit | 5565d0ab079b274f4e12d528400308d54df1ffa6 (patch) | |
tree | 0f3c78866b88f1bc291b084a90363a3518cf3502 /tests/data/test1901 | |
parent | 8cb010144964019b865fa224e166eb37f4e1d169 (diff) |
cmake: fix struct sockaddr_storage check
CHECK_TYPE_SIZE_PREINCLUDE is an internal, undocumented variable which
was removed in cmake 2.8.1. According to the MSDN docs[1], inclusion
of winsock2.h is sufficient. WIN32_LEAN_AND_MEAN does not really seem
to affect the tests, so remove it too[2].
For the non-windows case, remove inet headers as POSIX only requires
sys/socket.h.
[1]: http://msdn.microsoft.com/en-us/library/windows/desktop/ms740504%28v=vs.85%29.aspx
[2]: http://stackoverflow.com/questions/11040133/what-does-defining-win32-lean-and-mean-exclude-exactly
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'tests/data/test1901')
0 files changed, 0 insertions, 0 deletions