Fix tcc not finding emmintrin.h
This allows to compile raylib with tcc with no errors.
This commit is contained in:
parent
45fd75952d
commit
c7e51c740d
4
src/external/stb_image.h
vendored
4
src/external/stb_image.h
vendored
|
|
@ -688,6 +688,10 @@ typedef unsigned char validate_uint32[sizeof(stbi__uint32)==4 ? 1 : -1];
|
||||||
#define STBI_NO_SIMD
|
#define STBI_NO_SIMD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__TINYC__)
|
||||||
|
#define STBI_NO_SIMD
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(STBI_NO_SIMD) && (defined(STBI__X86_TARGET) || defined(STBI__X64_TARGET))
|
#if !defined(STBI_NO_SIMD) && (defined(STBI__X86_TARGET) || defined(STBI__X64_TARGET))
|
||||||
#define STBI_SSE2
|
#define STBI_SSE2
|
||||||
#include <emmintrin.h>
|
#include <emmintrin.h>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user