summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorShane Fournier <93808768+win32ss@users.noreply.github.com>2024-10-14 13:26:32 -0400
committerGitHub <noreply@github.com>2024-10-14 20:26:32 +0300
commitc8fa11373bfcba1b777426febd70e1caf4955463 (patch)
treef3044b2aaa46d040914afb644ba12054377357a2 /protocols
parent4348743ace7373ccc75113e97cb724268a81fb4a (diff)
Windows XP compatibility for Telegram module (#4729)
* These changes should allow telegram.dll to build as an XP-compatible component, using LSC wrapper DLLs to resolve dependencies in kernel32.dll and ws2_32.dll. mir_app also uses the LSC wrapper in place of kernel32 to load telegram.dll with support for implicit thread local storage. * Corrected mir_app link target * Now returning to this code, correcting the Telegram build to incorporate the libs properly. * Removed requirement for pwrp_k32 in mir_app. The TLS loading process will now be performed through GetSystemTimeAsFileTime in the Telegram DLL as calls to that function are made before this first TLS access attempt. --------- Co-authored-by: win32ss <win32ss@nulln.nl>
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Telegram/Telegram.vcxproj2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Telegram/Telegram.vcxproj b/protocols/Telegram/Telegram.vcxproj
index 90e1e5e72d..82aaf0c512 100644
--- a/protocols/Telegram/Telegram.vcxproj
+++ b/protocols/Telegram/Telegram.vcxproj
@@ -47,7 +47,7 @@
<Link>
<AdditionalLibraryDirectories Condition="'$(Platform)'=='Win32'">.\tdlib\lib\$(Configuration)32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalLibraryDirectories Condition="'$(Platform)'=='x64'">.\tdlib\lib\$(Configuration)64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
- <AdditionalDependencies>libcrypto.lib;libssl.lib;crypt32.lib;psapi.lib;Normaliz.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ <AdditionalDependencies>progwrp_k32.lib;p_s232.lib;libcrypto.lib;libssl.lib;crypt32.lib;psapi.lib;Normaliz.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>