mirror of https://github.com/encounter/SDL.git
define __ARM_NEON for Windows only if _M_ARM or _M_ARM64 is defined. fixes Visual Studio builds.
This commit is contained in:
parent
83a713f1a0
commit
282b2b9395
|
@ -70,13 +70,13 @@
|
||||||
# if defined(_M_ARM)
|
# if defined(_M_ARM)
|
||||||
# include <armintr.h>
|
# include <armintr.h>
|
||||||
# include <arm_neon.h>
|
# include <arm_neon.h>
|
||||||
|
# define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */
|
||||||
# endif
|
# endif
|
||||||
# if defined (_M_ARM64)
|
# if defined (_M_ARM64)
|
||||||
# include <armintr.h>
|
# include <armintr.h>
|
||||||
# include <arm_neon.h>
|
# include <arm_neon.h>
|
||||||
|
# define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */
|
||||||
# endif
|
# endif
|
||||||
/* Set __ARM_NEON so that it can be used elsewhere, at compile time */
|
|
||||||
# define __ARM_NEON 1
|
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#if defined(__3dNOW__) && !defined(SDL_DISABLE_MM3DNOW_H)
|
#if defined(__3dNOW__) && !defined(SDL_DISABLE_MM3DNOW_H)
|
||||||
|
|
Loading…
Reference in New Issue