Merge pull request #193 from lamby/sparc-crash
Fix crash on SPARC due to improper alignment of allocated memory
This commit is contained in:
commit
5c85257b96
@ -38,7 +38,7 @@
|
|||||||
#ifdef HAVE_MALLOC_SIZE
|
#ifdef HAVE_MALLOC_SIZE
|
||||||
#define PREFIX_SIZE (0)
|
#define PREFIX_SIZE (0)
|
||||||
#else
|
#else
|
||||||
#if defined(__sun)
|
#if defined(__sun) || defined(__sparc) || defined(__sparc__)
|
||||||
#define PREFIX_SIZE (sizeof(long long))
|
#define PREFIX_SIZE (sizeof(long long))
|
||||||
#else
|
#else
|
||||||
#define PREFIX_SIZE (sizeof(size_t))
|
#define PREFIX_SIZE (sizeof(size_t))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user