compiler tcc: tcc does not have emmintrin.h, so define STBI_NO_SIMD if tcc is used.

pull/1744/head
Delyan Angelov 2019-08-25 18:41:07 +03:00 committed by Alexander Medvednikov
parent ad32a3770b
commit ec4ff6e811
1 changed files with 3 additions and 0 deletions

View File

@ -315,6 +315,9 @@ RECENT REVISION HISTORY:
// want the zlib decoder to be available, #define STBI_SUPPORT_ZLIB
//
#ifdef __TINYC__
#define STBI_NO_SIMD
#endif
#ifndef STBI_NO_STDIO
#include <stdio.h>