forked from nuttx/nuttx-update
Remove warning about redefined strtok_r
This commit is contained in:
parent
8bd5556b47
commit
b7715ee018
2 changed files with 2 additions and 0 deletions
|
@ -189,6 +189,7 @@ static char *MY_strtok_r(char *str, const char *delim, char **saveptr)
|
|||
return pbegin;
|
||||
}
|
||||
|
||||
#undef strtok_r
|
||||
#define strtok_r MY_strtok_r
|
||||
#endif
|
||||
|
||||
|
|
|
@ -183,6 +183,7 @@ static char *MY_strtok_r(char *str, const char *delim, char **saveptr)
|
|||
return pbegin;
|
||||
}
|
||||
|
||||
#undef strtok_r
|
||||
#define strtok_r MY_strtok_r
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue