- Fix Build on VS2015

svn path=/trunk/; revision=69141
This commit is contained in:
Alex Ionescu 2015-09-09 04:58:25 +00:00
parent a9ac73d0f7
commit ba76268519

View file

@ -1851,6 +1851,7 @@ static char HELP[] =
Program execution starts here.
-----------------------------------------------------------------------------*/
#if (defined(__GNUC__) || (_MSC_VER < 1900))
char* strtok_s(char *str, const char *delim, char **ctx)
{
if (delim == NULL || ctx == NULL || (str == NULL && *ctx == NULL))
@ -1874,6 +1875,7 @@ char* strtok_s(char *str, const char *delim, char **ctx)
return str;
}
#endif
int main(int argc, char **argv)
{