mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 08:19:02 +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
|
// unistd.h
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user