PSTR alias followup (#20831)

This commit is contained in:
Tanguy Pruvot 2021-01-20 23:52:09 +01:00 committed by Scott Lahteine
parent b355f4605e
commit 8d2f1851eb

View file

@ -101,7 +101,7 @@
#define strncat_P(a, b, n) strncat((a), (b), (n))
#endif
#ifndef strncpy_P
#define strncpy_P(a, b, n) strncmp((a), (b), (n))
#define strncpy_P(a, b, n) strncpy((a), (b), (n))
#endif
#ifndef strpbrk_P
#define strpbrk_P(str, chrs) strpbrk((str), (chrs))