From: Yann Collet Date: Sat, 19 Oct 2019 00:08:52 +0000 (-0700) Subject: fixed visual defined test X-Git-Tag: v1.4.4~1^2~23^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0492c570139d252eaa47cacd788317d3f66a9c6e;p=thirdparty%2Fzstd.git fixed visual defined test --- diff --git a/programs/util.c b/programs/util.c index de25bc232..e1aa447a2 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 */