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

This commit is contained in:
Sam Lantinga committed 2017-12-11 12:00:12 -08:00
1 parent 1b16618b13
commit f1ec8a5f4c
6 files changed
+46 -5

No files matched your search

+3 -2
View File
@@ -191,11 +191,12 @@
#endif /* HAVE_LIBC */
#cmakedefine HAVE_ALTIVEC_H 1
#cmakedefine HAVE_LIBUDEV_H 1
#cmakedefine HAVE_DBUS_DBUS_H 1
#cmakedefine HAVE_IBUS_IBUS_H 1
#cmakedefine HAVE_FCITX_FRONTEND_H 1
#cmakedefine HAVE_IBUS_IBUS_H 1
#cmakedefine HAVE_IMMINTRIN_H 1
#cmakedefine HAVE_LIBSAMPLERATE_H 1
#cmakedefine HAVE_LIBUDEV_H 1
#cmakedefine HAVE_D3D_H @HAVE_D3D_H@
#cmakedefine HAVE_D3D11_H @HAVE_D3D11_H@