Added HAVE_STRTOK_R so it can be used in libkrb as well.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1741 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -45,6 +45,8 @@ RCSID("$Id$");
|
|||||||
|
|
||||||
#include "roken.h"
|
#include "roken.h"
|
||||||
|
|
||||||
|
#ifndef HAVE_STRTOK_R
|
||||||
|
|
||||||
char *
|
char *
|
||||||
strtok_r(char *s1, const char *s2, char **lasts)
|
strtok_r(char *s1, const char *s2, char **lasts)
|
||||||
{
|
{
|
||||||
@@ -65,3 +67,4 @@ strtok_r(char *s1, const char *s2, char **lasts)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* HAVE_STRTOK_R */
|
||||||
|
Reference in New Issue
Block a user