mirror of
https://github.com/gperftools/gperftools
synced 2025-01-18 12:51:02 +00:00
added missing finding HAVE___ATTRIBUTE__ALIGNED_FN
in cmake
This commit is contained in:
parent
ad4a6ff8de
commit
4e9fd729d2
@ -184,6 +184,12 @@ check_c_source_compiles("#include <stdlib.h>
|
||||
int main() { return 0; }"
|
||||
HAVE___ATTRIBUTE__)
|
||||
|
||||
check_c_source_compiles("#include <stdlib.h>
|
||||
void foo(void) __attribute__((aligned(128)));
|
||||
void foo(void) { exit(1); }
|
||||
int main() { return 0; }"
|
||||
HAVE___ATTRIBUTE__ALIGNED_FN)
|
||||
|
||||
set(CMAKE_EXTRA_INCLUDE_FILES "malloc.h")
|
||||
check_type_size("struct mallinfo" STRUCT_MALLINFO LANGUAGE CXX)
|
||||
check_type_size("struct mallinfo2" STRUCT_MALLINFO2 LANGUAGE CXX)
|
||||
|
Loading…
Reference in New Issue
Block a user