Skip to content

Commit

Permalink
Choose PPC's readtime function for powerpc64
Browse files Browse the repository at this point in the history
Previously we only accept powerpc as TARGET_CPU.
I just made powerpc64 recognizable.

Hopefully this could fix the problem mentioned by
Shakthi Kannan that Csmith failed to build on pcc64.
  • Loading branch information
chenyang78 committed Nov 23, 2011
1 parent eba614b commit 25fd27e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform.cpp
Expand Up @@ -44,7 +44,7 @@

#include "platform.h"

#if (TARGET_CPU_powerpc == 1)
#if (TARGET_CPU_powerpc == 1 || TARGET_CPU_powerpc64 == 1)
/*For PPC, got from:
http://lists.ozlabs.org/pipermail/linuxppc-dev/1999-October/003889.html
*/
Expand Down

0 comments on commit 25fd27e

Please sign in to comment.