1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

stbi: fix compilation with tcc

This commit is contained in:
Delyan Angelov 2020-08-29 10:13:25 +03:00
parent 718a4692dd
commit 93294d4a97

View File

@ -336,6 +336,10 @@ RECENT REVISION HISTORY:
// default this is set to (1 << 24), which is 16777216, but that's still // default this is set to (1 << 24), which is 16777216, but that's still
// very big. // very big.
#ifdef __TINYC__
#define STBI_NO_SIMD
#endif
#ifndef STBI_NO_STDIO #ifndef STBI_NO_STDIO
#include <stdio.h> #include <stdio.h>
#endif // STBI_NO_STDIO #endif // STBI_NO_STDIO