Skip to content

Commit d3a2ab9

Browse files
everslickd-a-v
authored andcommitted
emulation on host: Add (some) missing macros for *_P() functions. (#5766)
1 parent c9ce966 commit d3a2ab9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/host/sys/pgmspace.h

+3
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,8 @@ inline int vsnprintf_P(char *str, size_t size, const char *format, va_list ap) {
6363
#define strncpy_P strncpy
6464
#define strcmp_P strcmp
6565
#define memccpy_P memccpy
66+
#define snprintf_P snprintf
67+
#define sprintf_P sprintf
68+
#define strncmp_P strncmp
6669

6770
#endif

0 commit comments

Comments
 (0)