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:
Ben Ashbaugh
2020-02-21 00:05:27 -08:00
committed by GitHub
parent bce4e48c89
commit 170784c193

View File

@@ -258,6 +258,16 @@ typedef long long int64_t;
//
// string.h
//
#if defined(_MSC_VER)
#define strtok_r strtok_s
#endif
//
// unistd.h
//