Commit 6eed99f1 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-21248: Do not break the build on clang

parent 35c27785
......@@ -7394,7 +7394,7 @@ long max_stack_used;
*/
bool
#ifdef __GNUC__
#if defined __GNUC__ && !defined __clang__
/*
Do not optimize the function in order to preserve a stack variable creation.
Otherwise, the variable pointed as "buf" can be removed due to a missing
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment