mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-02-01 22:41:28 +01:00
full lodecpp features
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
parent
d1043e2673
commit
4be169f058
@ -5858,7 +5858,7 @@ unsigned lodepng_encode(unsigned char** out, size_t* outsize,
|
|||||||
unsigned alread_added_id_text = 0;
|
unsigned alread_added_id_text = 0;
|
||||||
for(i = 0; i != info.text_num; ++i)
|
for(i = 0; i != info.text_num; ++i)
|
||||||
{
|
{
|
||||||
if(!strcmp(info.text_keys[i], "LodePNG"))
|
if(!AsciiStrCmp(info.text_keys[i], "LodePNG"))
|
||||||
{
|
{
|
||||||
alread_added_id_text = 1;
|
alread_added_id_text = 1;
|
||||||
break;
|
break;
|
||||||
|
@ -37,8 +37,8 @@ freely, subject to the following restrictions:
|
|||||||
#define LODEPNG_NO_COMPILE_DISK
|
#define LODEPNG_NO_COMPILE_DISK
|
||||||
//#define LODEPNG_NO_COMPILE_ALLOCATORS
|
//#define LODEPNG_NO_COMPILE_ALLOCATORS
|
||||||
//#define LODEPNG_NO_COMPILE_ERROR_TEXT
|
//#define LODEPNG_NO_COMPILE_ERROR_TEXT
|
||||||
#define LODEPNG_NO_COMPILE_ANCILLARY_CHUNKS
|
//#define LODEPNG_NO_COMPILE_ANCILLARY_CHUNKS
|
||||||
#define LODEPNG_NO_COMPILE_CPP
|
//#define LODEPNG_NO_COMPILE_CPP
|
||||||
|
|
||||||
// Microsoft compiler has built-in size_t
|
// Microsoft compiler has built-in size_t
|
||||||
//#if !defined(_MSC_VER)
|
//#if !defined(_MSC_VER)
|
||||||
|
Loading…
Reference in New Issue
Block a user