Add JEMALLOC_CXX_THROW to the memalign() function prototype.

Add JEMALLOC_CXX_THROW to the memalign() function prototype, in order to
match glibc and avoid compilation errors when including both
jemalloc/jemalloc.h and malloc.h in C++ code.

This change was unintentionally omitted from
ae93d6bf36 (Avoid function prototype
incompatibilities.).
This commit is contained in:
Jason Evans
2015-08-26 13:47:20 -07:00
parent 45e9f66c28
commit 5d2e875ac9
2 changed files with 4 additions and 1 deletions

View File

@@ -13,6 +13,9 @@ brevity. Much more detail can be found in the git revision history:
- Don't bitshift by negative amounts when encoding/decoding run sizes in chunk
header maps. This affected systems with page sizes greater than 8 KiB.
- Rename index_t to szind_t to avoid an existing type on Solaris.
- Add JEMALLOC_CXX_THROW to the memalign() function prototype, in order to
match glibc and avoid compilation errors when including both
jemalloc/jemalloc.h and malloc.h in C++ code.
* 4.0.0 (August 17, 2015)