Fix the build with MSVC ARM64

This commit is contained in:
Cosmin Truta
2018-09-04 00:53:38 -04:00
parent b66ed71131
commit 1ceaa83a84
3 changed files with 17 additions and 7 deletions

View File

@@ -19,10 +19,14 @@
#include "pngpriv.h"
#ifdef PNG_ARM_NEON_IMPLEMENTATION
#if PNG_ARM_NEON_IMPLEMENTATION == 1
#define PNG_ARM_NEON_INTRINSICS_AVAILABLE
#include <arm_neon.h>
#endif
# if PNG_ARM_NEON_IMPLEMENTATION == 1
# define PNG_ARM_NEON_INTRINSICS_AVAILABLE
# if defined(_MSC_VER) && defined(_M_ARM64)
# include <arm64_neon.h>
# else
# include <arm_neon.h>
# endif
# endif
#endif
#ifdef PNG_READ_SUPPORTED