mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-02-26 03:06:36 -05:00
Get reorganized code building on Windows
This commit is contained in:
17
main.cpp
17
main.cpp
@@ -52,4 +52,19 @@ int main(int argc, char* argv[])
|
||||
|
||||
return a.exec();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
/******************************************************************************************\
|
||||
* *
|
||||
* wWinMain *
|
||||
* *
|
||||
* Entry point for Windows. Calls main(). *
|
||||
* *
|
||||
\******************************************************************************************/
|
||||
|
||||
#ifdef WIN32
|
||||
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine, int nCmdShow)
|
||||
{
|
||||
main(0, NULL);
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user