mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-07 21:01:37 +00:00
Fixed jemalloc compilation
This commit is contained in:
12
deps/jemalloc/CMakeLists.txt
vendored
12
deps/jemalloc/CMakeLists.txt
vendored
@@ -27,12 +27,12 @@
|
|||||||
set(JEM_MADFREE_DEF "#undef")
|
set(JEM_MADFREE_DEF "#undef")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Create the header, so we can use it
|
# Create the header, so we can use it
|
||||||
configure_file(
|
configure_file(
|
||||||
"${CMAKE_SOURCE_DIR}/deps/jemalloc/jemalloc_defs.h.in.cmake"
|
"${CMAKE_SOURCE_DIR}/deps/jemalloc/jemalloc_internal_defs.h.in.cmake"
|
||||||
"${BUILDDIR}/jemalloc_defs.h"
|
"${BUILDDIR}/jemalloc_internal_defs.h"
|
||||||
@ONLY
|
@ONLY
|
||||||
)
|
)
|
||||||
|
|
||||||
# Done, let's continue
|
# Done, let's continue
|
||||||
set(jemalloc_STAT_SRC
|
set(jemalloc_STAT_SRC
|
||||||
|
|||||||
@@ -340,4 +340,5 @@
|
|||||||
/* sizeof(void *) == 2^LG_SIZEOF_PTR. */
|
/* sizeof(void *) == 2^LG_SIZEOF_PTR. */
|
||||||
#define LG_SIZEOF_PTR @JEM_SIZEDEF@
|
#define LG_SIZEOF_PTR @JEM_SIZEDEF@
|
||||||
|
|
||||||
#endif /* JEMALLOC_INTERNAL_DEFS_H_ */
|
#endif /* JEMALLOC_INTERNAL_DEFS_H_ */
|
||||||
|
|
||||||
Reference in New Issue
Block a user