X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=include%2Fwimlib_tchar.h;h=3ec85fc58007002ba70abb32a7f79a96a28fd912;hp=f0b17f01e51d06feda1f35b270994e1226a168c7;hb=61db93f82eca3fe9f7676355c709c58cc425a6ad;hpb=c772c186e1e2b85aceed1f0d4ef115fb01d23425 diff --git a/include/wimlib_tchar.h b/include/wimlib_tchar.h index f0b17f01..3ec85fc5 100644 --- a/include/wimlib_tchar.h +++ b/include/wimlib_tchar.h @@ -51,6 +51,7 @@ typedef wchar_t tchar; # define tstrerror _wcserror # define taccess _waccess # define tstrdup wcsdup +# define ttempnam _wtempnam /* The following "tchar" functions do not have exact wide-character equivalents * on Windows so require parameter rearrangement or redirection to a replacement * function defined ourselves. */ @@ -109,6 +110,7 @@ typedef char tchar; # define tstrtoul strtoul # define tmkdir mkdir # define tstrdup strdup +# define ttempnam tempnam # define TSTRDUP STRDUP # define tstrerror_r strerror_r # define trename rename