about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-11-11 19:50:00 +0100
committerptitSeb <sebastien.chev@gmail.com>2022-11-11 19:50:12 +0100
commitd09379990b23b99000f39269646239d3510ecc27 (patch)
tree6536e0c28950a3169b9adfc8b3bea9e9216b32ee
parent136318f98a79c65ed498dfba5e499d9b191bc579 (diff)
downloadbox64-d09379990b23b99000f39269646239d3510ecc27.tar.gz
box64-d09379990b23b99000f39269646239d3510ecc27.zip
x86_64 build don't need CreateCPUInfoFile
-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 d86948a9..6b6a4b01 100755
--- a/src/wrapped/wrappedlibc.c
+++ b/src/wrapped/wrappedlibc.c
@@ -1362,6 +1362,7 @@ int getNCpu()
 }
 
 
+#ifndef NOALIGN
 void CreateCPUInfoFile(int fd)
 {
     size_t dummy;
@@ -1414,7 +1415,6 @@ void CreateCPUInfoFile(int fd)
     #undef P
 }
 
-#ifndef NOALIGN
 #define TMP_CPUINFO "box64_tmpcpuinfo"
 #define TMP_CPUTOPO "box64_tmpcputopo%d"
 #endif