about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-11-11 19:48:37 +0100
committerptitSeb <sebastien.chev@gmail.com>2022-11-11 19:48:37 +0100
commit136318f98a79c65ed498dfba5e499d9b191bc579 (patch)
tree85f3f5165f8d99ad924fcdd9fc40598a260ad012 /src
parent1775844f458c03859626ed6aa868eba01ae3a581 (diff)
downloadbox64-136318f98a79c65ed498dfba5e499d9b191bc579.tar.gz
box64-136318f98a79c65ed498dfba5e499d9b191bc579.zip
Actualy fix x86_64 build
Diffstat (limited to 'src')
-rwxr-xr-xsrc/wrapped/wrappedlibc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c
index 9ea5b796..d86948a9 100755
--- a/src/wrapped/wrappedlibc.c
+++ b/src/wrapped/wrappedlibc.c
@@ -1326,7 +1326,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.;
 
@@ -1415,6 +1414,7 @@ void CreateCPUInfoFile(int fd)
     #undef P
 }
 
+#ifndef NOALIGN
 #define TMP_CPUINFO "box64_tmpcpuinfo"
 #define TMP_CPUTOPO "box64_tmpcputopo%d"
 #endif