We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
winsock2.h should be include. I did not test with more recent version of Visual Studio but on 2008 struct tv is not recognized.
#if defined(_WIN32) #if BUILDING_DLL # define DLLIMPORT __declspec (dllexport) #else /* Not BUILDING_DLL */ # define DLLIMPORT __declspec (dllimport) #endif /* Not BUILDING_DLL */ #include <time.h> #include <Winsock.h> // <--------- Add this #endif
If this is only a problem for VS2008, then
#if _MSC_VER <= 1500 #include <Winsock.h> #endif
The text was updated successfully, but these errors were encountered:
No branches or pull requests
winsock2.h should be include. I did not test with more recent version of Visual Studio but on 2008 struct tv is not recognized.
If this is only a problem for VS2008, then
The text was updated successfully, but these errors were encountered: