瀏覽代碼

Fix tcc not finding emmintrin.h (#1947)

* Fix tcc not finding emmintrin.h

This allows to compile raylib with tcc with no errors.

* Remove __TINYC__ check from stb_image.h

This will be placed under textures.c

* Move tcc check to textures.c

Avoiding to change stb_image.h
pull/1954/head
Laurentino Luna 3 年之前
committed by GitHub
父節點
當前提交
6575d31379
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      src/textures.c

+ 4
- 0
src/textures.c 查看文件

@ -102,6 +102,10 @@
#define STBI_NO_PIC
#define STBI_NO_PNM // Image format .ppm and .pgm
#if defined(__TINYC__)
#define STBI_NO_SIMD
#endif
#if (defined(SUPPORT_FILEFORMAT_BMP) || \
defined(SUPPORT_FILEFORMAT_PNG) || \
defined(SUPPORT_FILEFORMAT_TGA) || \

Loading…
取消
儲存