1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

fix(tjpgd): always use stdint.h

fixes #5070
This commit is contained in:
Gabor Kiss-Vamosi 2023-12-21 10:16:12 +01:00
parent 469c2cfcef
commit e5be99c0be

View File

@ -10,16 +10,7 @@ extern "C" {
#include "tjpgdcnf.h" #include "tjpgdcnf.h"
#include <string.h> #include <string.h>
#if defined(_WIN32) /* VC++ or some compiler without stdint.h */
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef short int16_t;
typedef unsigned long uint32_t;
typedef long int32_t;
#else /* Embedded platform */
#include <stdint.h> #include <stdint.h>
#endif
#if JD_FASTDECODE >= 1 #if JD_FASTDECODE >= 1
typedef int16_t jd_yuv_t; typedef int16_t jd_yuv_t;