git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update for HEAD-2003091401
[reactos.git]
/
include
/
tchar.h
diff --git
a/include/tchar.h
b/include/tchar.h
index
fbc98c7
..
f34d7ef
100644
(file)
--- a/
include/tchar.h
+++ b/
include/tchar.h
@@
-38,6
+38,8
@@
#ifndef _TCHAR_H_
#define _TCHAR_H_
#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.
/*
* 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 _tcsncat wcsncat
#define _tcsncmp wcsncmp
#define _tcsncpy wcsncpy
+#define _tcsnlen wcsnlen
#define _tcspbrk wcspbrk
#define _tcsrchr wcsrchr
#define _tcsspn wcsspn
#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 _tcsncat strncat
#define _tcsncmp strncmp
#define _tcsncpy strncpy
+#define _tcsnlen strnlen
#define _tcspbrk strpbrk
#define _tcsrchr strrchr
#define _tcsspn strspn
#define _tcspbrk strpbrk
#define _tcsrchr strrchr
#define _tcsspn strspn