1
0
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:
Delyan Angelov 2019-08-25 18:41:07 +03:00 committed by Alexander Medvednikov
parent ad32a3770b
commit ec4ff6e811

View File

@ -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>