Added unix compatability

This commit is contained in:
fro_ozen
2014-10-18 20:10:17 +02:00
parent 12cc970bf1
commit de7167e830
18 changed files with 80 additions and 7 deletions
+5 -1
View File
@@ -40,7 +40,11 @@ void ServerApplication::Init(int argc, char* argv[]) {
std::cout << "Beginning " << argv[0] << std::endl;
//load the prerequisites
#ifdef __unix__
config.Load("rsc/config.cfg", argc, argv);
#else
config.Load("rsc\\config.cfg", argc, argv);
#endif
//-------------------------
//Initialize the APIs
@@ -260,4 +264,4 @@ void ServerApplication::HandlePacket(SerialPacket* const argPacket) {
}
break;
}
}
}