martinf(a)svn.reactos.org wrote:
-#if defined(__STDC_WANT_SECURE_LIB__) &&
defined(_MS_VER) // secure CRT functions using VS 2005
+#ifdef __STDC_WANT_SECURE_LIB__
if (_tfopen_s(&_pfile, path, mode) != 0)
Hi Martin,
This change will break the build, reactos now has partial but not full support for secure
CRT functions.
__STDC_WANT_SECURE_LIB__ is now defined in our build headers, but some areas are missing,
_wfopen_s being one of these.
I added the '&& defined(_MS_VER)' check to get around this for our build
env until we support it.
Regards,
Ged.