mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 925169 - part 1 - don't use MOZ_MEMORY_SIZEOF_PTR_2POW in jemalloc.c; r=glandium
This commit is contained in:
parent
aa041ad89e
commit
1012aff6b9
@ -299,7 +299,7 @@ typedef unsigned char uint8_t;
|
||||
typedef unsigned uint32_t;
|
||||
typedef unsigned long long uint64_t;
|
||||
typedef unsigned long long uintmax_t;
|
||||
#if defined(MOZ_MEMORY_SIZEOF_PTR_2POW) && (MOZ_MEMORY_SIZEOF_PTR_2POW == 3)
|
||||
#if defined(_WIN64)
|
||||
typedef long long ssize_t;
|
||||
#else
|
||||
typedef long ssize_t;
|
||||
@ -469,8 +469,8 @@ static const bool isthreaded = true;
|
||||
|
||||
/* Minimum alignment of non-tiny allocations is 2^QUANTUM_2POW_MIN bytes. */
|
||||
# define QUANTUM_2POW_MIN 4
|
||||
#ifdef MOZ_MEMORY_SIZEOF_PTR_2POW
|
||||
# define SIZEOF_PTR_2POW MOZ_MEMORY_SIZEOF_PTR_2POW
|
||||
#if defined(_WIN64) || defined(__LP64__)
|
||||
# define SIZEOF_PTR_2POW 3
|
||||
#else
|
||||
# define SIZEOF_PTR_2POW 2
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user