mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[BTRFS] Fix MSVC build.
This commit is contained in:
parent
bc00ea2464
commit
cd52bbdf03
1 changed files with 4 additions and 0 deletions
|
@ -94,7 +94,11 @@ typedef struct {
|
||||||
static void* zstd_malloc(void* opaque, size_t size);
|
static void* zstd_malloc(void* opaque, size_t size);
|
||||||
static void zstd_free(void* opaque, void* address);
|
static void zstd_free(void* opaque, void* address);
|
||||||
|
|
||||||
|
#ifndef __REACTOS__
|
||||||
ZSTD_customMem zstd_mem = { .customAlloc = zstd_malloc, .customFree = zstd_free, .opaque = NULL };
|
ZSTD_customMem zstd_mem = { .customAlloc = zstd_malloc, .customFree = zstd_free, .opaque = NULL };
|
||||||
|
#else
|
||||||
|
ZSTD_customMem zstd_mem = { zstd_malloc, zstd_free, NULL };
|
||||||
|
#endif
|
||||||
|
|
||||||
static UINT8 lzo_nextbyte(lzo_stream* stream) {
|
static UINT8 lzo_nextbyte(lzo_stream* stream) {
|
||||||
UINT8 c;
|
UINT8 c;
|
||||||
|
|
Loading…
Reference in a new issue