Windows compiles! (w/Visual Studio 2012) That's about all it does, but it's a start.
This commit is contained in:
parent
5076c75b07
commit
d6414c9ff7
30 changed files with 191 additions and 87 deletions
|
@ -115,7 +115,11 @@ public:
|
|||
inline uint64_t networkId() const
|
||||
throw(std::invalid_argument)
|
||||
{
|
||||
#ifdef __WINDOWS__
|
||||
return _strtoui64(get("nwid").c_str(),(char **)0,16);
|
||||
#else
|
||||
return strtoull(get("nwid").c_str(),(char **)0,16);
|
||||
#endif
|
||||
}
|
||||
|
||||
inline void setPeerAddress(Address &a)
|
||||
|
@ -222,7 +226,11 @@ public:
|
|||
inline uint64_t networkId() const
|
||||
throw(std::invalid_argument)
|
||||
{
|
||||
#ifdef __WINDOWS__
|
||||
return _strtoui64(get("nwid").c_str(),(char **)0,16);
|
||||
#else
|
||||
return strtoull(get("nwid").c_str(),(char **)0,16);
|
||||
#endif
|
||||
}
|
||||
|
||||
inline Address peerAddress() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue