]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
fixed visual defined test
authorYann Collet <cyan@fb.com>
Sat, 19 Oct 2019 00:08:52 +0000 (17:08 -0700)
committerYann Collet <cyan@fb.com>
Sat, 19 Oct 2019 00:08:52 +0000 (17:08 -0700)
programs/util.c

index de25bc2327f0bab4c3e055254304b506916fa889..e1aa447a24b76954babc7437be479183159635a5 100644 (file)
@@ -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 */