]> wimlib.net Git - wimlib/blobdiff - include/wimlib_tchar.h
Implement setting of Windows-specific XML information
[wimlib] / include / wimlib_tchar.h
index d8c6915c7024104475760213fd50f7f9148c698b..fffcd5c4bf156f568df92f5796e6fed69f0b827d 100644 (file)
@@ -28,6 +28,7 @@ typedef wchar_t tchar;
 #  define tsprintf     swprintf
 #  define tfprintf     fwprintf
 #  define tvfprintf    vfwprintf
+#  define tscanf       swscanf
 #  define istalpha(c)  iswalpha((wchar_t)(c))
 #  define istspace(c)  iswspace((wchar_t)(c))
 #  define totlower(c)  towlower((wchar_t)(c))
@@ -50,6 +51,7 @@ typedef wchar_t tchar;
 #  define tstrtol      wcstol
 #  define tstrtod      wcstod
 #  define tstrtoul     wcstoul
+#  define tstrtoull    wcstoull
 #  define tunlink      _wunlink
 #  define tstrerror    _wcserror
 #  define taccess      _waccess
@@ -87,6 +89,7 @@ typedef char tchar;
 #  define tsprintf     sprintf
 #  define tfprintf     fprintf
 #  define tvfprintf    vfprintf
+#  define tscanf       sscanf
 #  define istalpha(c)  isalpha((unsigned char)(c))
 #  define istspace(c)  isspace((unsigned char)(c))
 #  define totlower(c)  tolower((unsigned char)(c))
@@ -111,6 +114,7 @@ typedef char tchar;
 #  define tstrtol      strtol
 #  define tstrtod      strtod
 #  define tstrtoul     strtoul
+#  define tstrtoull    strtoull
 #  define tmkdir       mkdir
 #  define tstrdup      strdup
 #  define ttempnam     tempnam