mirror of https://github.com/libsdl-org/SDL
Fixed bug 5209 - cpuinfo recognize OpenBSD ARM
Brad Smith OpenBSD/arm only supports ARMv7 and and not any CPUs that do not support NEON.
This commit is contained in:
parent
4ba0a84718
commit
c2b8530591
|
@ -457,6 +457,8 @@ CPU_haveNEON(void)
|
|||
return 1; /* all Apple ARMv7 chips and later have NEON. */
|
||||
#elif defined(__APPLE__)
|
||||
return 0; /* assume anything else from Apple doesn't have NEON. */
|
||||
#elif defined(__OpenBSD__)
|
||||
return 1; /* OpenBSD only supports ARMv7 CPUs that have NEON. */
|
||||
#elif !defined(__arm__)
|
||||
return 0; /* not an ARM CPU at all. */
|
||||
#elif defined(__QNXNTO__)
|
||||
|
|
Loading…
Reference in New Issue