mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-05 13:27:19 +03:00
Address portability issues on Solaris.
Don't assume Bourne shell is in /bin/sh when running size_classes.sh . Consider __sparcv9 a synonym for __sparc64__ when defining LG_QUANTUM. This resolves #275.
This commit is contained in:
parent
8c485b02a6
commit
6d91929e52
2 changed files with 3 additions and 2 deletions
|
|
@ -232,7 +232,7 @@ typedef unsigned szind_t;
|
|||
# ifdef __alpha__
|
||||
# define LG_QUANTUM 4
|
||||
# endif
|
||||
# ifdef __sparc64__
|
||||
# if (defined(__sparc64__) || defined(__sparcv9))
|
||||
# define LG_QUANTUM 4
|
||||
# endif
|
||||
# if (defined(__amd64__) || defined(__x86_64__) || defined(_M_X64))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue