mirror of https://github.com/BOINC/boinc.git
parent
7c70c3b6e4
commit
302ba83a53
|
@ -125,7 +125,7 @@ void CLIENT_STATE::detect_platforms() {
|
||||||
strlcat(cmdline," -m",256);
|
strlcat(cmdline," -m",256);
|
||||||
if ((f=popen(cmdline,"r"))) {
|
if ((f=popen(cmdline,"r"))) {
|
||||||
while (!std::feof(f)) {
|
while (!std::feof(f)) {
|
||||||
fgets(cmdline,256,f);
|
fgets(cmdline,256,f);
|
||||||
if (strstr(cmdline,"x86_64")) support64=1;
|
if (strstr(cmdline,"x86_64")) support64=1;
|
||||||
}
|
}
|
||||||
pclose(f);
|
pclose(f);
|
||||||
|
|
Loading…
Reference in New Issue