ifdef around arpa/inet.h on WIN32 (unix only)
This commit is contained in:
parent
786941fe69
commit
da9cda2b79
2 changed files with 4 additions and 3 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -31,8 +31,8 @@ ZERO_CHECK
|
|||
*.lastbuildstate
|
||||
*.sdf
|
||||
*.opensdf
|
||||
Debug
|
||||
Release
|
||||
Debug/
|
||||
Release/
|
||||
|
||||
CMakeFiles
|
||||
Makefile
|
||||
|
|
|
|||
|
|
@ -3,8 +3,9 @@
|
|||
#include <fc/crypto/bigint.hpp>
|
||||
#ifdef WIN32
|
||||
#include <WinSock2.h>
|
||||
#endif
|
||||
#else
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
namespace fc
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue