mesa: use strtok_s for strtok_r on windows
authorTapani Pälli <tapani.palli@intel.com>
Wed, 30 Sep 2015 17:38:13 +0000 (20:38 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 1 Oct 2015 05:01:03 +0000 (08:01 +0300)
commitca2e16d26ec46e604c76ab72d3ec14a7a8643cc8
treea3930893cb1cc54b36b46eff7d30c06ad969bc55
parent9bd9cf1fa402bf948020ee5d560259a5cfd2a739
mesa: use strtok_s for strtok_r on windows

https://msdn.microsoft.com/en-us/library/ftsafwz3.aspx

v2: use _WIN32 instead of _MSC_VER (Brian Paul)

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92183
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/imports.h