From 31b4edc67b75658ce5e2d41f2fc87331f4b26d49 Mon Sep 17 00:00:00 2001 From: bhgv Date: Sun, 10 May 2020 02:59:23 +0300 Subject: a try to add support of FreeRTOS riscV-64 (k210 cpu). first step --- include/png/lodepng.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/png/lodepng.h b/include/png/lodepng.h index 1548272..61d0d49 100644 --- a/include/png/lodepng.h +++ b/include/png/lodepng.h @@ -27,8 +27,10 @@ freely, subject to the following restrictions: #define LODEPNG_H //#include /*for size_t*/ -typedef unsigned int size_t; +#ifndef FREERTOS_RISCV64 +typedef unsigned int size_t; +#endif extern const char* LODEPNG_VERSION_STRING; -- cgit v1.2.3