Commit eb56339b authored by pkubaj's avatar pkubaj Committed by Sergey Vojtovich

Fix build on !glibc/powerpc*

Do the same that newer branches do and don't include glibc-related headers on non-glibc environment.
parent 8afe4bba
......@@ -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
......
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