]> wimlib.net Git - wimlib/blobdiff - include/wimlib_tchar.h
Use little endian types for 'struct wim_header_disk'
[wimlib] / include / wimlib_tchar.h
index d5a5c66e74012010bbc6d7101e3f63e5cf52faa2..c372b820e1cccd2b801915c5bc854b4abaab6654 100644 (file)
@@ -22,6 +22,7 @@ typedef wchar_t tchar;
 #  define tmemcpy      wmemcpy
 #  define tmemmove     wmemmove
 #  define tmempcpy     wmempcpy
+#  define tstrcat      wcscat
 #  define tstrcpy      wcscpy
 #  define tprintf      wprintf
 #  define tsprintf     swprintf
@@ -52,6 +53,7 @@ typedef wchar_t tchar;
 #  define tstrerror    _wcserror
 #  define taccess      _waccess
 #  define tstrdup      wcsdup
+#  define ttempnam     _wtempnam
 #  define tgetenv      _wgetenv
 #  define totlower(c)  towlower((wchar_t)(c))
 /* The following "tchar" functions do not have exact wide-character equivalents
@@ -79,6 +81,7 @@ typedef char tchar;
 #  define tmemcpy      memcpy
 #  define tmemmove     memmove
 #  define tmempcpy     mempcpy
+#  define tstrcat      strcat
 #  define tstrcpy      strcpy
 #  define tprintf      printf
 #  define tsprintf     sprintf
@@ -109,6 +112,7 @@ typedef char tchar;
 #  define tstrtoul     strtoul
 #  define tmkdir       mkdir
 #  define tstrdup      strdup
+#  define ttempnam     tempnam
 #  define tgetenv      getenv
 #  define totlower(c)  tolower((unsigned char)(c))
 #  define TSTRDUP      STRDUP