Check for immintrin.h before using it in SDL_cpuinfo.h

This commit is contained in:
Sam Lantinga
2017-12-11 12:00:12 -08:00
parent 1b16618b13
commit f1ec8a5f4c
6 changed files with 46 additions and 5 deletions

View File

@@ -193,11 +193,12 @@
#endif /* HAVE_LIBC */
#undef HAVE_ALTIVEC_H
#undef HAVE_LIBUDEV_H
#undef HAVE_DBUS_DBUS_H
#undef HAVE_IBUS_IBUS_H
#undef HAVE_FCITX_FRONTEND_H
#undef HAVE_IBUS_IBUS_H
#undef HAVE_IMMINTRIN_H
#undef HAVE_LIBSAMPLERATE_H
#undef HAVE_LIBUDEV_H
#undef HAVE_DDRAW_H
#undef HAVE_DINPUT_H