From ac07499111c726c34bf2b9eab3d348e2fc591b63 Mon Sep 17 00:00:00 2001 From: pommicket Date: Thu, 20 Feb 2025 11:16:17 -0500 Subject: switch to libjpeg --- 3rd_party/stb_image.c | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 3rd_party/stb_image.c (limited to '3rd_party/stb_image.c') diff --git a/3rd_party/stb_image.c b/3rd_party/stb_image.c deleted file mode 100644 index e0ee732..0000000 --- a/3rd_party/stb_image.c +++ /dev/null @@ -1,25 +0,0 @@ -#ifdef __GNUC__ -#define no_warn_start _Pragma("GCC diagnostic push") \ - _Pragma("GCC diagnostic ignored \"-Wpedantic\"") \ - _Pragma("GCC diagnostic ignored \"-Wsign-conversion\"") \ - _Pragma("GCC diagnostic ignored \"-Wsign-compare\"") \ - _Pragma("GCC diagnostic ignored \"-Wconversion\"") \ - _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"") \ - _Pragma("GCC diagnostic ignored \"-Wunused-function\"") \ - _Pragma("GCC diagnostic ignored \"-Wunused-parameter\"") - -#define no_warn_end _Pragma("GCC diagnostic pop") -#else -#define no_warn_start -#define no_warn_end -#endif - -#define STB_IMAGE_IMPLEMENTATION -#define STBI_ONLY_JPEG -#define STBI_NO_STDIO -#if __TINYC__ -#define STBI_NO_SIMD -#endif -no_warn_start -#include "stb_image.h" -no_warn_end -- cgit v1.2.3