From 0492c570139d252eaa47cacd788317d3f66a9c6e Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Fri, 18 Oct 2019 17:08:52 -0700 Subject: [PATCH] fixed visual defined test --- programs/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/util.c b/programs/util.c index de25bc23..e1aa447a 100644 --- a/programs/util.c +++ b/programs/util.c @@ -399,7 +399,7 @@ int UTIL_countPhysicalCores(void) DWORD returnLength = 0; size_t byteOffset = 0; -#ifdef (_MSC_VER) +#if defined(_MSC_VER) /* Visual Studio does not like the following cast */ # pragma warning( disable : 4054 ) /* conversion from function ptr to data ptr */ # pragma warning( disable : 4055 ) /* conversion from data ptr to function ptr */