]> wimlib.net Git - wimlib/blobdiff - wimlib_tchar.h
check_add_command(): Use WIMLIB_ERR_UNSUPPORTED when appropriate
[wimlib] / wimlib_tchar.h
index b27fbeabf8bb994116e1fe2759f669c5411d2ef7..e902fab39a4e2227cb92888a0e0f346f28c5d5c3 100644 (file)
@@ -41,6 +41,7 @@ typedef wchar_t tchar;
 #  define tputs                _putws
 #  define tfputs       fputws
 #  define tfopen       _wfopen
+#  define topen                _wopen
 #  define tstat                _wstati64
 #  define tstrtol      wcstol
 #  define tstrtod      wcstod
@@ -96,6 +97,7 @@ typedef char tchar;
 #  define tputs                puts
 #  define tfputs       fputs
 #  define tfopen       fopen
+#  define topen                open
 #  define tstat                stat
 #  define tunlink      unlink
 #  define tstrerror    strerror