Commit 1273a9ac authored by Ondrej Vysocky's avatar Ondrej Vysocky
Browse files

FIX compilation on open power #60

parent 7b0ae9d2
......@@ -236,6 +236,8 @@ enum MODE
USING_NONE
};
#ifdef __x86_64
//#define _GNU_SOURCE
enum reg_cpuid
{
eax,
......@@ -322,6 +324,9 @@ unsigned long discover_nominal_frequency()
return f = (unsigned long) (atof(token2) * 1E9);
}
#else
unsigned long discover_nominal_frequency() {return 0;};
#endif
void sysInfoSize()
{
......
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