removed MSVC strtok_s use from SDL_strtokr().

no other ??_s are used elsewhere in SDL_stdinc. besides, C11 has a
strtok_s with a different signature.
This commit is contained in:
Ozkan Sezer 2020-12-30 01:00:24 +03:00
parent 0684572ccc
commit 8a32ee24db
6 changed files with 10 additions and 17 deletions

View file

@ -116,7 +116,6 @@
#cmakedefine HAVE_STRRCHR 1
#cmakedefine HAVE_STRSTR 1
#cmakedefine HAVE_STRTOK_R 1
#cmakedefine HAVE_STRTOK_S 1
#cmakedefine HAVE_ITOA 1
#cmakedefine HAVE__LTOA 1
#cmakedefine HAVE__UITOA 1
@ -207,6 +206,7 @@
#cmakedefine HAVE_STDARG_H 1
#cmakedefine HAVE_STDDEF_H 1
#cmakedefine HAVE_FLOAT_H 1
#else
/* We may need some replacement for stdarg.h here */
#include <stdarg.h>