diff --git a/Common/Include/basetypes.h b/Common/Include/basetypes.h index e07c99626..08e9f84a6 100644 --- a/Common/Include/basetypes.h +++ b/Common/Include/basetypes.h @@ -733,7 +733,7 @@ public: resize (0); // strtok_s not available on all platforms - so backoff to strtok on those -#ifdef strtok_s +#if __STDC_WANT_SECURE_LIB__ char * context; // for strtok_s() for (char * p = strtok_s (buf, delim, &context); p; p = strtok_s (NULL, delim, &context)) push_back (p);