Skip to content

Commit

Permalink
Fix build on !glibc/powerpc*
Browse files Browse the repository at this point in the history
Do the same that newer branches do and don't include glibc-related headers on non-glibc environment.
  • Loading branch information
pkubaj authored and Sergey Vojtovich committed Nov 2, 2019
1 parent 8afe4bb commit eb56339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storage/xtradb/include/ut0ut.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <sys/platform/ppc.h>
# define UT_RELAX_CPU() __ppc_get_timebase()
# else
Expand Down

0 comments on commit eb56339

Please sign in to comment.