Fix LZHAM recompiling pch for each implementation file

This commit is contained in:
Amos 2022-01-06 17:30:10 +01:00
parent b80be10c4d
commit c98301d175
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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