Fix LNK1561 error on Winodws

This commit is contained in:
dijunkun
2024-05-30 16:33:50 +08:00
parent 2163aa87d4
commit 0a934e8c01

View File

@@ -1,3 +1,11 @@
#ifdef _WIN32
#ifdef REMOTE_DESK_DEBUG
#pragma comment(linker, "/subsystem:\"console\"")
#else
#pragma comment(linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"")
#endif
#endif
#include "connection.h" #include "connection.h"
#include "log.h" #include "log.h"
#include "main_window.h" #include "main_window.h"