From eb56339b6656da991aa2e25de4d6f655f0bbe213 Mon Sep 17 00:00:00 2001 From: pkubaj Date: Wed, 9 Oct 2019 12:01:19 +0200 Subject: [PATCH] Fix build on !glibc/powerpc* Do the same that newer branches do and don't include glibc-related headers on non-glibc environment. --- storage/xtradb/include/ut0ut.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/xtradb/include/ut0ut.h b/storage/xtradb/include/ut0ut.h index 2dd791557705b..de8be1774c3b4 100644 --- a/storage/xtradb/include/ut0ut.h +++ b/storage/xtradb/include/ut0ut.h @@ -83,7 +83,7 @@ struct ut_when_dtor { the YieldProcessor macro defined in WinNT.h. It is a CPU architecture- independent way by using YieldProcessor. */ # define UT_RELAX_CPU() YieldProcessor() -# elif defined(__powerpc__) +# elif defined(__powerpc__) && defined __GLIBC__ #include # define UT_RELAX_CPU() __ppc_get_timebase() # else