diff options
| author | bhgv <bhgv.empire@gmail.com> | 2020-05-10 02:59:23 +0300 |
|---|---|---|
| committer | bhgv <bhgv.empire@gmail.com> | 2020-05-10 02:59:23 +0300 |
| commit | 31b4edc67b75658ce5e2d41f2fc87331f4b26d49 (patch) | |
| tree | a7b6ea659fe62e0a7239f29170024f524595fb4d /include | |
| parent | c76314f0f38f4ed028610a6db4452879a556b35f (diff) | |
a try to add support of FreeRTOS riscV-64 (k210 cpu). first step
Diffstat (limited to 'include')
| -rw-r--r-- | include/png/lodepng.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <string.h> /*for size_t*/ -typedef unsigned int size_t; +#ifndef FREERTOS_RISCV64 +typedef unsigned int size_t; +#endif extern const char* LODEPNG_VERSION_STRING; |
