mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-15 19:28:43 +12:00
7z: Update from 21.07 to 22.01
This commit is contained in:
parent
591159c4a9
commit
4a3a24dcc1
5 changed files with 34 additions and 26 deletions
8
3rdparty/7z/src/DllSecur.c
vendored
8
3rdparty/7z/src/DllSecur.c
vendored
|
@ -1,5 +1,5 @@
|
|||
/* DllSecur.c -- DLL loading security
|
||||
2021-12-25 : Igor Pavlov : Public domain */
|
||||
2022-07-15 : Igor Pavlov : Public domain */
|
||||
|
||||
#include "Precomp.h"
|
||||
|
||||
|
@ -11,6 +11,10 @@
|
|||
|
||||
#ifndef UNDER_CE
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 8)
|
||||
#pragma GCC diagnostic ignored "-Wcast-function-type"
|
||||
#endif
|
||||
|
||||
typedef BOOL (WINAPI *Func_SetDefaultDllDirectories)(DWORD DirectoryFlags);
|
||||
|
||||
#define MY_LOAD_LIBRARY_SEARCH_USER_DIRS 0x400
|
||||
|
@ -34,7 +38,7 @@ static const char * const g_Dlls =
|
|||
#endif
|
||||
|
||||
// #define MY_CAST_FUNC (void(*)())
|
||||
#define MY_CAST_FUNC
|
||||
#define MY_CAST_FUNC
|
||||
|
||||
void My_SetDefaultDllDirectories()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue