From 4dbcaaf47d6383c0afe516df5e31bea18623678f Mon Sep 17 00:00:00 2001 From: cosmy1 Date: Fri, 31 Jul 2015 14:21:41 +0200 Subject: [PATCH] Update libcpuid_util.c --- libcpuid/libcpuid_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcpuid/libcpuid_util.c b/libcpuid/libcpuid_util.c index b4e37fd..c907f5c 100644 --- a/libcpuid/libcpuid_util.c +++ b/libcpuid/libcpuid_util.c @@ -129,7 +129,7 @@ void generic_get_cpu_list(const struct match_entry_t* matchtable, int count, break; } if (!good) continue; -#ifdef _MSC_VER +#if defined(_MSC_VER) list->names[n++] = _strdup(matchtable[i].name); #else list->names[n++] = strdup(matchtable[i].name);