Browse Source

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

master
Delyan Angelov 2 years ago
committed by Alexander Medvednikov
parent
commit
ec4ff6e811
  1. 3
      thirdparty/stb_image/stb_image.h

3
thirdparty/stb_image/stb_image.h

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

Loading…
Cancel
Save