Self test almost builds, now need skeleton EthernetTap implementation for Windows.

This commit is contained in:
Adam Ierymenko 2013-08-14 11:19:21 -04:00
parent 1f9a7e26ba
commit 150a53eb17
13 changed files with 51 additions and 61 deletions

View file

@ -351,7 +351,7 @@ Node::ReasonForTermination Node::run()
// Make sure networks.d exists
#ifdef __WINDOWS__
CreateDirectory((_r->homePath + ZT_PATH_SEPARATOR_S + "networks.d").c_str(),NULL);
CreateDirectoryA((_r->homePath + ZT_PATH_SEPARATOR_S + "networks.d").c_str(),NULL);
#else
mkdir((_r->homePath + ZT_PATH_SEPARATOR_S + "networks.d").c_str(),0700);
#endif