mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 21:11:25 +12:00
WolfSSL: Use a custom UTF-8 aware _stat on Windows
This commit is contained in:
parent
791ee013ac
commit
c5748983f6
4 changed files with 18 additions and 7 deletions
4
3rdparty/wolfssl/extra/win32/user_settings.h
vendored
4
3rdparty/wolfssl/extra/win32/user_settings.h
vendored
|
@ -67,7 +67,9 @@ extern FILE* wolfSSL_fopen_utf8(const char* name, const char* mode);
|
|||
#define XFFLUSH fflush
|
||||
|
||||
#include <sys/stat.h>
|
||||
#define XSTAT _stat
|
||||
extern int wolfSSL_stat_utf8(const char* path, struct _stat* buffer);
|
||||
#define XSTAT wolfSSL_stat_utf8
|
||||
#define XSTAT_TYPE struct _stat
|
||||
#define XS_ISREG(s) (s & _S_IFREG)
|
||||
#define SEPARATOR_CHAR ';'
|
||||
|
||||
|
|
5
3rdparty/wolfssl/wolfssl.vcxproj
vendored
5
3rdparty/wolfssl/wolfssl.vcxproj
vendored
|
@ -101,9 +101,7 @@
|
|||
<ClCompile Include="wolfssl\wolfcrypt\src\ge_low_mem.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\ge_operations.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\hash.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\hc128.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\hmac.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\idea.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\integer.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\kdf.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\logging.c" />
|
||||
|
@ -115,10 +113,11 @@
|
|||
<ClCompile Include="wolfssl\wolfcrypt\src\pkcs12.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\poly1305.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\pwdbased.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\rabbit.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\random.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\rc2.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\ripemd.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\rsa.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\sakke.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\sha.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\sha256.c" />
|
||||
<ClCompile Include="wolfssl\wolfcrypt\src\sha3.c" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue