mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
Fix the build with MSVC ARM64
This commit is contained in:
12
pngrtran.c
12
pngrtran.c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user