Add a missing include

"msc_helper" -> "rbuild_helper" in error messages

svn path=/trunk/; revision=42957
This commit is contained in:
KJK::Hyperion 2009-08-27 19:34:19 +00:00
parent 1abc5e10f8
commit 895075e99c

View file

@ -27,6 +27,7 @@ int main() { return 1; }
#else #else
#include <algorithm>
#include <functional> #include <functional>
#include <iterator> #include <iterator>
#include <limits> #include <limits>
@ -95,7 +96,7 @@ namespace
DWORD cchMessage = FormatMessageA DWORD cchMessage = FormatMessageA
( (
FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_ARGUMENT_ARRAY | FORMAT_MESSAGE_FROM_STRING, FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_ARGUMENT_ARRAY | FORMAT_MESSAGE_FROM_STRING,
"msc_helper: %1!s!() failed: error %2!lu!\n", "rbuild_helper: %1!s!() failed: error %2!lu!\n",
0, 0,
0, 0,
(LPSTR)&pszMessage, (LPSTR)&pszMessage,
@ -135,7 +136,7 @@ namespace
DECLSPEC_NORETURN DECLSPEC_NORETURN
void OutOfMemory() void OutOfMemory()
{ {
DieMessage("msc_helper: out of memory\n"); DieMessage("rbuild_helper: out of memory\n");
} }
template<class CharT> template<class CharT>
@ -156,7 +157,7 @@ namespace
void push_back(TCHAR x) void push_back(TCHAR x)
{ {
if(x > std::numeric_limits<CharT>::max() || x < std::numeric_limits<CharT>::min()) if(x > std::numeric_limits<CharT>::max() || x < std::numeric_limits<CharT>::min())
DieMessage("msc_helper: invalid character in command line\n"); DieMessage("rbuild_helper: invalid character in command line\n");
m_arg = static_cast<CharT *>(HeapReAlloc(GetProcessHeap(), 0, m_arg, (m_argLen + 1) * sizeof(CharT))); m_arg = static_cast<CharT *>(HeapReAlloc(GetProcessHeap(), 0, m_arg, (m_argLen + 1) * sizeof(CharT)));
@ -304,7 +305,7 @@ namespace
DWORD cchPipeName = FormatMessage DWORD cchPipeName = FormatMessage
( (
FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_ARGUMENT_ARRAY | FORMAT_MESSAGE_FROM_STRING, FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_ARGUMENT_ARRAY | FORMAT_MESSAGE_FROM_STRING,
TEXT("\\\\.\\pipe\\msc_helper-%1!08X!-%2!08X!"), TEXT("\\\\.\\pipe\\rbuild_helper-%1!08X!-%2!08X!"),
0, 0,
0, 0,
(LPTSTR)&m_pszPipeName, (LPTSTR)&m_pszPipeName,