This commit was manufactured by cvs2svn to create branch 'captive'.
[reactos.git] / include / wine / unicode.h
diff --git a/include/wine/unicode.h b/include/wine/unicode.h
new file mode 100644 (file)
index 0000000..095195f
--- /dev/null
@@ -0,0 +1,15 @@
+#ifndef _WINE_UNICODE_H
+#define _WINE_UNICODE_H
+
+#define strlenW(s) wcslen((const wchar_t *)s)
+#define strcpyW(d,s) wcscpy((wchar_t *)d,(const wchar_t *)s)
+#define strcatW(d,s) wcscat((wchar_t *)d,(const wchar_t *)s)
+#define strstrW(d,s) wcsstr((const wchar_t *)d,(const wchar_t *)s)
+#define strtolW(s,e,b) wcstol((const wchar_t *)s,(wchar_t **)e,b)
+#define strchrW(s,c) wcschr((const wchar_t *)s,(wchar_t)c)
+#define strncmpW(s1,s2,n) wcsncmp((const wchar_t *)s1,(const wchar_t *)s2,n)
+#define tolowerW(n) towlower((wint_t)n)
+#define atoiW(s) _wtoi((const wchar_t *)s)
+#define atolW(s) _wtol((const wchar_t *)s)
+
+#endif