mirror of
https://github.com/vlang/v.git
synced 2025-09-14 06:52:36 +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
1 changed files with 3 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue