Added unix compatability
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user