Index: src/platform-win32.cc |
=================================================================== |
--- src/platform-win32.cc (revision 1325) |
+++ src/platform-win32.cc (working copy) |
@@ -732,6 +732,11 @@ |
} |
+char* OS::StrChr(char* str, int c) { |
+ return const_cast<char*>(strchr(str, c)); |
+} |
+ |
+ |
void OS::StrNCpy(Vector<char> dest, const char* src, size_t n) { |
int result = strncpy_s(dest.start(), dest.length(), src, n); |
USE(result); |