]> 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>
Tue, 17 Sep 2024 12:05:18 +0000 (14:05 +0200)
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
functable.c

index fd1be2f5beedc22168e0cb13dd36d68e834f2794..abe597c72c97a13c6836ddac77af661c0148ad2d 100644 (file)
@@ -3,6 +3,10 @@
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
+#if defined(_MSC_VER)
+#  include <intrin.h>
+#endif
+
 #include "zbuild.h"
 #include "zendian.h"
 #include "crc32_braid_p.h"
 #include "functable.h"
 #include "cpu_features.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) \