Commit 3e1f5ce4 authored by nanahira's avatar nanahira

fix

parent 6b5143bc
...@@ -269,7 +269,7 @@ function getGlibcVersion() ...@@ -269,7 +269,7 @@ function getGlibcVersion()
return (major << 16) | (minor << 8) | patch return (major << 16) | (minor << 8) | patch
end end
return nil return 0
end end
GLIBC_VERSION=0 GLIBC_VERSION=0
...@@ -278,7 +278,7 @@ if os.ishost("linux") then ...@@ -278,7 +278,7 @@ if os.ishost("linux") then
if GLIBC_VERSION>0 then if GLIBC_VERSION>0 then
print("Detected glibc version: " .. string.format("%d.%d.%d", GLIBC_VERSION >> 16, (GLIBC_VERSION >> 8) & 0xFF, GLIBC_VERSION & 0xFF)) print("Detected glibc version: " .. string.format("%d.%d.%d", GLIBC_VERSION >> 16, (GLIBC_VERSION >> 8) & 0xFF, GLIBC_VERSION & 0xFF))
else else
print("Could not detect glibc version, assuming it is sufficient.") print("Could not detect glibc version, assuming it is insufficient.")
end end
end end
......
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