Skip to content
Myr

stb_image: fix building by MSVC for Windows 10 on ARM

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Eugene Golushkov · committed by Fabian Giesen · parent a0231a9 · Browse files · 1 file+4 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−1 removed

  • other:+4 added−1 removed

1 file+4 added−1 removed

modified:stb_image.h+4 added-1 removed
775 unmodified lines
776#endif777778#ifdef STBI_NEON779#include <arm_neon.h>780// assume GCC or Clang on ARM targets780#ifdef _MSC_VER781#define STBI_SIMD_ALIGN(type, name) __declspec(align(16)) type name782#else783#define STBI_SIMD_ALIGN(type, name) type name __attribute__((aligned(16)))784#endif785#endif786787#ifndef STBI_SIMD_ALIGN788#define STBI_SIMD_ALIGN(type, name) type name789#endif
7047 unmodified lines