1
0
forked from 0ad/0ad

OS X compile fixes

This was SVN commit r7015.
This commit is contained in:
Simon Brenner 2009-07-18 01:58:16 +00:00
parent 032a41add6
commit a866ade2d7
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ namespace ERR
#if EMULATE_SECURE_CRT
// (conflicts with glibc definitions)
#if !OS_UNIX
#if !OS_UNIX || OS_MACOSX
// return length [in characters] of a string, not including the trailing
// null character. to protect against access violations, only the
// first <max_len> characters are examined; if the null character is

View File

@ -28,7 +28,7 @@ void* debug_GetCaller(void* UNUSED(context), const char* UNUSED(lastFuncToSkip))
return NULL;
}
LibError debug_DumpStack(wchar_t* UNUSED(buf), size_t UNUSED(max_chars), size_t UNUSED(skip), void* UNUSED(context))
LibError debug_DumpStack(wchar_t* UNUSED(buf), size_t UNUSED(max_chars), void* UNUSED(context), const char* UNUSED(lastFuncToSkip))
{
return ERR::NOT_IMPLEMENTED;
}