From 038b6ab9ec485423c0231913b5b3bf1184e48f2a Mon Sep 17 00:00:00 2001 From: Fabian Giesen Date: Sun, 22 Jan 2023 15:51:38 -0800 Subject: [PATCH] stb_image: Avoid stdint.h on 32-bit Symbian. As suggested by "mupfdev" on Github. We don't have a way to test here but seems simple enough. Fixes issue #1321. --- stb_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb_image.h b/stb_image.h index d230a78..720bffe 100644 --- a/stb_image.h +++ b/stb_image.h @@ -635,7 +635,7 @@ STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const ch #endif #endif -#ifdef _MSC_VER +#if defined(_MSC_VER) || defined(__SYMBIAN32__) typedef unsigned short stbi__uint16; typedef signed short stbi__int16; typedef unsigned int stbi__uint32;