mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler tcc: tcc does not have emmintrin.h, so define STBI_NO_SIMD if tcc is used.
This commit is contained in:
parent
ad32a3770b
commit
ec4ff6e811
3
thirdparty/stb_image/stb_image.h
vendored
3
thirdparty/stb_image/stb_image.h
vendored
@ -315,6 +315,9 @@ RECENT REVISION HISTORY:
|
|||||||
// want the zlib decoder to be available, #define STBI_SUPPORT_ZLIB
|
// want the zlib decoder to be available, #define STBI_SUPPORT_ZLIB
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#ifdef __TINYC__
|
||||||
|
#define STBI_NO_SIMD
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef STBI_NO_STDIO
|
#ifndef STBI_NO_STDIO
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user