[Ports] Merge Nspire port and Fxcg improvements

Close #327
This commit is contained in:
Yaya-Cout
2023-06-06 21:25:07 +02:00
parent a124ed72b5
commit 73450419bb
47 changed files with 4139 additions and 28 deletions

View File

@@ -7,9 +7,10 @@
LIBA_BEGIN_DECLS
#if (__GLIBC__ || __MINGW32__ || _FXCG)
#if (__GLIBC__ || __MINGW32__ || _FXCG || NSPIRE_NEWLIB)
size_t strlcat(char * dst, const char * src, size_t dstSize);
size_t strlcpy(char * dst, const char * src, size_t len);
char *strdup(const char *s);
#endif
LIBA_END_DECLS

View File

@@ -1,7 +1,7 @@
#ifndef LIBA_STRINGS_H
#define LIBA_STRINGS_H
#if (_FXCG)
#if (_FXCG) || defined NSPIRE_NEWLIB
#include <stdlib.h>
@@ -19,4 +19,4 @@ LIBA_END_DECLS
#endif
#endif
#endif