lean2/src/cmake/Modules/CheckJemalloc.cc
Leonardo de Moura e81d96ffc1 feat(build): add build option for jemalloc
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-22 13:44:47 -07:00

8 lines
197 B
C++

#include <stdio.h>
#include <string.h>
#include <jemalloc/jemalloc.h>
int main() {
printf("%d.%d.%d", JEMALLOC_VERSION_MAJOR, JEMALLOC_VERSION_MINOR, JEMALLOC_VERSION_BUGFIX);
return 0;
}