Skip to content

Commit 667c27f

Browse files
d-a-vdevyte
authored andcommitted
wip host build (#5431)
1 parent d5d1126 commit 667c27f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Diff for: tests/host/common/AddrList.h

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
// TODO
3+
// mock AddrList with POSIX mock API
4+
// later: real AddrList will work with lwIP API

Diff for: tests/host/sys/pgmspace.h

+4
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,9 @@ inline char *strcpy_P(char *dest, const char *src) { return strcpy(dest, src); }
5959
inline size_t strlen_P(const char *s) { return strlen(s); }
6060
inline int vsnprintf_P(char *str, size_t size, const char *format, va_list ap) { return vsnprintf(str, size, format, ap); }
6161

62+
#define memcpy_P memcpy
63+
#define strncpy_P strncpy
64+
#define strcmp_P strcmp
65+
#define memccpy_P memccpy
6266

6367
#endif

0 commit comments

Comments
 (0)