update for HEAD-2003091401
[reactos.git] / include / tchar.h
index fbc98c7..f34d7ef 100644 (file)
@@ -38,6 +38,8 @@
 #ifndef        _TCHAR_H_
 #define _TCHAR_H_
 
+#include <msvcrt/string.h>
+
 /*
  * NOTE: This tests _UNICODE, which is different from the UNICODE define
  *       used to differentiate Win32 API calls.
@@ -114,6 +116,7 @@ typedef wchar_t TCHAR;
 #define        _tcsncat                wcsncat
 #define        _tcsncmp        wcsncmp
 #define        _tcsncpy        wcsncpy
+#define _tcsnlen        wcsnlen
 #define        _tcspbrk                wcspbrk
 #define        _tcsrchr                wcsrchr
 #define        _tcsspn         wcsspn
@@ -218,6 +221,7 @@ typedef char TCHAR;
 #define        _tcsncat        strncat
 #define        _tcsncmp        strncmp
 #define        _tcsncpy        strncpy
+#define _tcsnlen        strnlen
 #define        _tcspbrk        strpbrk
 #define        _tcsrchr        strrchr
 #define _tcsspn                strspn