fix to work with a gcc bug
This commit is contained in:
parent
c5b462d5b9
commit
f68eba6a9f
|
@ -77,10 +77,10 @@ void saveConfigs()
|
||||||
|
|
||||||
#ifdef WIN32_NO_CONSOLE
|
#ifdef WIN32_NO_CONSOLE
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
int WINAPI WinMain(HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument,int nCmdShow)
|
int WINAPI WinMain(HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR lpszArgument, int nCmdShow)
|
||||||
{
|
{
|
||||||
std::vector<std::string> args;
|
std::vector<std::string> args;
|
||||||
boost::split(args, lpszArgument, boost::is_any_of(" "));
|
boost::split(args, lpszArgument, boost::is_any_of(std::string(" ")));
|
||||||
#else
|
#else
|
||||||
int main(int argc, const char *argv[])
|
int main(int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue