mirror of
https://github.com/anrieff/libcpuid
synced 2025-07-02 14:04:15 +00:00
Update libcpuid_util.c
This commit is contained in:
parent
fe63724d53
commit
4dbcaaf47d
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ void generic_get_cpu_list(const struct match_entry_t* matchtable, int count,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!good) continue;
|
if (!good) continue;
|
||||||
#ifdef _MSC_VER
|
#if defined(_MSC_VER)
|
||||||
list->names[n++] = _strdup(matchtable[i].name);
|
list->names[n++] = _strdup(matchtable[i].name);
|
||||||
#else
|
#else
|
||||||
list->names[n++] = strdup(matchtable[i].name);
|
list->names[n++] = strdup(matchtable[i].name);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue