fix build for arm64, also use generic intrin.h instead of the x86 series specific

master
Pierre Joye 2021-08-29 05:55:52 +07:00
parent fc8590f8a3
commit 98451864ce
1 changed files with 2 additions and 2 deletions

View File

@ -72,9 +72,9 @@ TODO:
#include "gdhelpers.h"
#include "gd_intern.h"
#ifdef _MSC_VER
#ifdef define(_MSC_VER)
# pragma optimize("t", on)
# include <emmintrin.h>
# include <intrin.h>
#endif
static gdImagePtr gdImageScaleBilinear(gdImagePtr im,