mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
use strtok_s in place of strtok_r on Windows (#606)
Signed-off-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
This commit is contained in:
@@ -258,6 +258,16 @@ typedef long long int64_t;
|
||||
|
||||
|
||||
|
||||
//
|
||||
// string.h
|
||||
//
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#define strtok_r strtok_s
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
//
|
||||
// unistd.h
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user