aboutsummaryrefslogtreecommitdiff
path: root/dep/jemalloc/src/sz.c
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2018-05-11 20:36:14 +0200
committerjackpoz <giacomopoz@gmail.com>2018-05-12 09:37:51 +0200
commit8fe74bf0f90aab0b23d5ff21079cba4201bb4fdf (patch)
treedbd187bf59f55f81cb81d01acd4998077553fb9b /dep/jemalloc/src/sz.c
parente5b3814020fe1a288f4cd8bbf0289bd0abfd5c10 (diff)
Dep/Jemalloc: Update to Jemalloc 5.1.0
Diffstat (limited to 'dep/jemalloc/src/sz.c')
-rw-r--r--dep/jemalloc/src/sz.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dep/jemalloc/src/sz.c b/dep/jemalloc/src/sz.c
index 0986615f711..9de77e45fff 100644
--- a/dep/jemalloc/src/sz.c
+++ b/dep/jemalloc/src/sz.c
@@ -26,7 +26,8 @@ const size_t sz_index2size_tab[NSIZES] = {
JEMALLOC_ALIGNED(CACHELINE)
const uint8_t sz_size2index_tab[] = {
#if LG_TINY_MIN == 0
-#warning "Dangerous LG_TINY_MIN"
+/* The div module doesn't support division by 1. */
+#error "Unsupported LG_TINY_MIN"
#define S2B_0(i) i,
#elif LG_TINY_MIN == 1
#warning "Dangerous LG_TINY_MIN"