diff options
Diffstat (limited to 'tests/src/Interop/common/xplatform.h')
-rw-r--r-- | tests/src/Interop/common/xplatform.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/src/Interop/common/xplatform.h b/tests/src/Interop/common/xplatform.h index 36c4e56f02..370ebe8d12 100644 --- a/tests/src/Interop/common/xplatform.h +++ b/tests/src/Interop/common/xplatform.h @@ -194,7 +194,9 @@ int wcsncpy_s(LPWSTR strDestination, size_t size1, LPCWSTR strSource) } -int wmemcmp(LPWSTR str1, LPWSTR str2,size_t len) +#define wcsncmp wmemcmp + +int wmemcmp(LPCWSTR str1, LPCWSTR str2,size_t len) { // < 0 str1 less than str2 // 0 str1 identical to str2 |