]> wimlib.net Git - wimlib/blobdiff - include/wimlib_tchar.h
Merge branch with pipable WIM support
[wimlib] / include / wimlib_tchar.h
index f0b17f01e51d06feda1f35b270994e1226a168c7..3ec85fc58007002ba70abb32a7f79a96a28fd912 100644 (file)
@@ -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