Remove warning about redefined strtok_r
This commit is contained in:
parent
8bd5556b47
commit
b7715ee018
@ -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 New Issue
Block a user