]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fix new Windows SDK build break
authorAdeel Mujahid <3840695+am11@users.noreply.github.com>
Wed, 28 Aug 2024 20:49:55 +0000 (23:49 +0300)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sun, 1 Sep 2024 13:38:30 +0000 (15:38 +0200)
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
functable.c

index 495d11edd20081ea0d9c690b94968c55b4bad436..9fb6e3dea9cdb7fa543862cb698a9aa250f755b9 100644 (file)
@@ -4,15 +4,15 @@
  */
 #ifndef DISABLE_RUNTIME_CPU_DETECTION
 
+#if defined(_MSC_VER)
+#  include <intrin.h>
+#endif
+
 #include "zbuild.h"
 #include "functable.h"
 #include "cpu_features.h"
 #include "arch_functions.h"
 
-#if defined(_MSC_VER)
-#  include <intrin.h>
-#endif
-
 /* Platform has pointer size atomic store */
 #if defined(__GNUC__) || defined(__clang__)
 #  define FUNCTABLE_ASSIGN(VAR, FUNC_NAME) \