From a67606db8f4669e91e147a4e6bcd597d28a36afa Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sun, 20 Feb 2022 16:31:23 +0100 Subject: Fixed build for x86_64 --- src/wrapped/wrappedlibc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/wrapped') diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c index a257cc07..f0b7933e 100755 --- a/src/wrapped/wrappedlibc.c +++ b/src/wrapped/wrappedlibc.c @@ -1269,8 +1269,6 @@ EXPORT ssize_t my_readlink(x64emu_t* emu, void* path, void* buf, size_t sz) return readlink((const char*)path, (char*)buf, sz); } -#ifndef NOALIGN - static int nCPU = 0; static double bogoMips = 100.; @@ -1303,6 +1301,9 @@ int getNCpu() grabNCpu(); return nCPU; } +#ifndef NOALIGN + + void CreateCPUInfoFile(int fd) { size_t dummy; -- cgit 1.4.1