summaryrefslogtreecommitdiff
path: root/external/bsd/jemalloc/include
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2019-03-29 13:04:00 +0000
committerchristos <christos@NetBSD.org>2019-03-29 13:04:00 +0000
commite1f22d720a8eead69d43d1a0e52eea5404f87b5f (patch)
treedd4d3bf0d0c0ee00136ac66d1ae8349635def0d5 /external/bsd/jemalloc/include
parenta38ef707feccae4fb2e31edf0a69e8f6c8ab6b22 (diff)
there is no elifdef
Diffstat (limited to 'external/bsd/jemalloc/include')
-rw-r--r--external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h b/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
index 6dc186720d6..282ca563bd9 100644
--- a/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
+++ b/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
@@ -200,9 +200,9 @@
/* One page is 2^LG_PAGE bytes. */
#include <machine/vmparam.h>
-#ifdef PAGE_SHIFT
+#if defined(PAGE_SHIFT)
#define LG_PAGE PAGE_SHIFT
-#elifdef MAX_PAGE_SHIFT
+#elif defined(MAX_PAGE_SHIFT)
#define LG_PAGE MAX_PAGE_SHIFT
#else
#error "PAGE_SHIFT is not defined"