mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
Fix "unknown pragma" on zlib clang workarounds
This commit is contained in:
parent
758902382d
commit
fa0bf6a92c
3 changed files with 16 additions and 1 deletions
|
|
@ -832,11 +832,14 @@ std::vector<fs::file> SCEDecrypter::MakeFile()
|
|||
strm.avail_out = BUFSIZE;
|
||||
strm.next_in = data_buf.get()+data_buf_offset;
|
||||
strm.next_out = tempbuf;
|
||||
#ifndef _MSC_VER
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wold-style-cast"
|
||||
#endif
|
||||
int ret = inflateInit(&strm);
|
||||
#ifndef _MSC_VER
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#endif
|
||||
while (strm.avail_in)
|
||||
{
|
||||
ret = inflate(&strm, Z_NO_FLUSH);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue