X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=wimlib_tchar.h;h=b27fbeabf8bb994116e1fe2759f669c5411d2ef7;hp=4d722379a6e85c90b441c53ad33bcfd48d73381b;hb=ad4f8818b728ef7cd1c5304bcd50a545df7acc8a;hpb=dc59c6191f7b3e5d20ee2c105c74e3b18202a92f diff --git a/wimlib_tchar.h b/wimlib_tchar.h index 4d722379..b27fbeab 100644 --- a/wimlib_tchar.h +++ b/wimlib_tchar.h @@ -53,7 +53,7 @@ typedef wchar_t tchar; * function defined ourselves. */ # define TSTRDUP WSTRDUP # define tmkdir(path, mode) _wmkdir(path) -# define tstrerror_r(errnum, buf, bufsize) _wcserror_s(buf, bufsize, errnum) +# define tstrerror_r win32_strerror_r_replacement # define trename win32_rename_replacement # define ttruncate win32_truncate_replacement #else /* __WIN32__ */