mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-11 19:35:20 +00:00
Move WinMain entry point to a separate source file.
This commit is contained in:
11
profiler/src/winmain.cpp
Normal file
11
profiler/src/winmain.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifdef _WIN32
|
||||
# include <windows.h>
|
||||
# include <stdlib.h>
|
||||
|
||||
int main( int argc, char** argv );
|
||||
|
||||
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmd, int nCmd )
|
||||
{
|
||||
return main( __argc, __argv );
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user