watcom does not provide strtok_r(), so simply use strtok() like the mingw cases. SDL-1.2
authorOzkan Sezer <sezeroz@gmail.com>
Sun, 07 Oct 2018 02:26:55 +0300
branchSDL-1.2
changeset 8832ff5d3653db2
parent 882 d19c15cded82
child 884 4761ad17bdc6
watcom does not provide strtok_r(), so simply use strtok() like the mingw cases.

(from 2.0 branch commit 74a0ac03a448)
music.c
     1.1 --- a/music.c	Sun Oct 07 01:51:50 2018 +0300
     1.2 +++ b/music.c	Sun Oct 07 02:26:55 2018 +0300
     1.3 @@ -1582,7 +1582,7 @@
     1.4  		return 0;
     1.5  	}
     1.6  
     1.7 -#if defined(__MINGW32__) || defined(__MINGW64__)
     1.8 +#if defined(__MINGW32__) || defined(__MINGW64__) || defined(__WATCOMC__)
     1.9  	for (path = strtok(paths, ";"); path; path = strtok(NULL, ";")) {
    1.10  #elif defined(_WIN32)
    1.11  	for (path = strtok_s(paths, ";", &context); path; path = strtok_s(NULL, ";", &context)) {