music.c: watcom does not provide strtok_r(), so simply use strtok() like the mingw cases.
authorSam Lantinga <slouken@libsdl.org>
Mon, 16 Oct 2017 02:13:50 -0700
changeset 77074a0ac03a448
parent 769 1dfabfb5ee76
child 771 fa081ec2940e
music.c: watcom does not provide strtok_r(), so simply use strtok() like the mingw cases.
music.c
     1.1 --- a/music.c	Mon Oct 16 02:13:21 2017 -0700
     1.2 +++ b/music.c	Mon Oct 16 02:13:50 2017 -0700
     1.3 @@ -1640,7 +1640,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)) {