What steps will reproduce the problem?
1. Download libkml-0.4.0.tar.gz
2. Unpack
3. libkml.sln
What is the expected output? What do you see instead?
>time_util.cc
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\winsock2.h(112) : error C2011: 'fd_set' :
redéfinition du type 'struct'
1> c:\program files\microsoft visual studio
8\vc\platformsdk\include\winsock.h(54) : voir la déclaration de 'fd_set'
1>c:\program files\microsoft visual studio
8\vc\platformsdk\include\winsock2.h(147) : warning C4005: 'FD_SET' :
redéfinition de macro
What version of the product are you using? On what operating system?
Windows XP, Visual Studio 2005 (v 8.0)
Did you run the unit test suite that comes with the project? Did all tests
pass?
No
Please provide any additional information below.
In src/kml/base/time_util.cc : Replace
#include <winsock2.h>
by
#include <winsock.h>
solve this issue.
Original issue reported on code.google.com by thomas.f...@c-s.cnes.fr on 15 Sep 2008 at 3:46
Original issue reported on code.google.com by
thomas.f...@c-s.cnes.fr
on 15 Sep 2008 at 3:46