Fixed jemalloc compilation

This commit is contained in:
Yehonal
2017-12-21 15:51:20 +01:00
parent ce412ec7dc
commit 4035c205fb
2 changed files with 8 additions and 7 deletions

View File

@@ -27,12 +27,12 @@
set(JEM_MADFREE_DEF "#undef")
endif()
# Create the header, so we can use it
configure_file(
"${CMAKE_SOURCE_DIR}/deps/jemalloc/jemalloc_defs.h.in.cmake"
"${BUILDDIR}/jemalloc_defs.h"
@ONLY
)
# Create the header, so we can use it
configure_file(
"${CMAKE_SOURCE_DIR}/deps/jemalloc/jemalloc_internal_defs.h.in.cmake"
"${BUILDDIR}/jemalloc_internal_defs.h"
@ONLY
)
# Done, let's continue
set(jemalloc_STAT_SRC

View File

@@ -340,4 +340,5 @@
/* sizeof(void *) == 2^LG_SIZEOF_PTR. */
#define LG_SIZEOF_PTR @JEM_SIZEDEF@
#endif /* JEMALLOC_INTERNAL_DEFS_H_ */
#endif /* JEMALLOC_INTERNAL_DEFS_H_ */