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 fb4a93f4a6
commit aef30f74b7
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