mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-04-26 00:39:25 +03:00
Link to Windows libraries in CMake project, remove related #pragma directives
In addition to making the code cleaner, this also prevents potential issues due to #pragma directives being in headers.
This commit is contained in:
@@ -80,9 +80,6 @@ extern "C"
|
||||
//#include <propvarutil.h>
|
||||
//#include <knownfolders.h>
|
||||
//#include <shlobj.h>
|
||||
//
|
||||
//#pragma comment(lib, "propsys.lib")
|
||||
//#pragma comment(lib, "shlwapi.lib")
|
||||
|
||||
#define CREATE_PROPERTYKEY(l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) { { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user