mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix LZHAM recompiling pch for each implementation file
This commit is contained in:
parent
b80be10c4d
commit
c98301d175
3
r5dev/thirdparty/lzham/include/lzham_core.h
vendored
3
r5dev/thirdparty/lzham/include/lzham_core.h
vendored
@ -1,7 +1,6 @@
|
||||
// File: lzham_core.h
|
||||
// See Copyright Notice and license at the end of include/lzham.h
|
||||
#pragma once
|
||||
#include "core/stdafx.h"
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning (disable: 4127) // conditional expression is constant
|
||||
@ -136,6 +135,8 @@
|
||||
#define LZHAM_FORCE_INLINE inline
|
||||
|
||||
#define LZHAM_NOTE_UNUSED(x) (void)x
|
||||
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#if LZHAM_LITTLE_ENDIAN_CPU
|
||||
|
2
r5dev/thirdparty/lzham/lzham_mem.cpp
vendored
2
r5dev/thirdparty/lzham/lzham_mem.cpp
vendored
@ -10,7 +10,7 @@ using namespace lzham;
|
||||
#define LZHAM_MEM_STATS 0
|
||||
|
||||
#ifndef LZHAM_USE_WIN32_API
|
||||
#define _msize malloc_usable_size
|
||||
//#define _msize malloc_usable_size
|
||||
#endif
|
||||
|
||||
namespace lzham
|
||||
|
Loading…
x
Reference in New Issue
Block a user