mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-24 00:06:32 +01:00
Properly put the pragma comment for the MSVC linker in defines
This commit is contained in:
parent
29e86eae29
commit
f0fc2a27b0
2 changed files with 4 additions and 0 deletions
|
|
@ -42,11 +42,13 @@
|
|||
#include <winsock2.h>
|
||||
#include <windows.h>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_WIN32_WCE)
|
||||
#pragma comment( lib, "ws2.lib" )
|
||||
#else
|
||||
#pragma comment( lib, "ws2_32.lib" )
|
||||
#endif
|
||||
#endif /* _MSC_VER */
|
||||
#endif
|
||||
|
||||
#include "polarssl/base64.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue