mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[CMAKE/MSVC]
* Rename the lib to runtmchk. Really. CORE-8626 svn path=/trunk/; revision=64808
This commit is contained in:
parent
df43f0f0a0
commit
2864422049
4 changed files with 10 additions and 14 deletions
|
@ -1,10 +0,0 @@
|
|||
|
||||
list(APPEND SOURCE rtcapi.c)
|
||||
|
||||
if(ARCH STREQUAL "i386")
|
||||
list(APPEND ASM_SOURCE i386/_RTC_CheckEsp.S)
|
||||
endif()
|
||||
|
||||
add_asm_files(RunTmChk_asm ${ASM_SOURCE})
|
||||
add_library(RunTmChk ${SOURCE} ${RunTmChk_asm})
|
||||
add_dependencies(RunTmChk asm)
|
10
reactos/lib/sdk/runtmchk/CMakeLists.txt
Normal file
10
reactos/lib/sdk/runtmchk/CMakeLists.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
list(APPEND SOURCE rtcapi.c)
|
||||
|
||||
if(ARCH STREQUAL "i386")
|
||||
list(APPEND ASM_SOURCE i386/_RTC_CheckEsp.S)
|
||||
endif()
|
||||
|
||||
add_asm_files(runtmchk_asm ${ASM_SOURCE})
|
||||
add_library(runtmchk ${SOURCE} ${runtmchk_asm})
|
||||
add_dependencies(runtmchk asm)
|
|
@ -30,7 +30,6 @@ _RTC_Failure(
|
|||
void* retaddr,
|
||||
int errnum)
|
||||
{
|
||||
DbgPrint("Invalid stack pointer value caught at %p, error %d\n", retaddr, errnum);
|
||||
__debugbreak();
|
||||
}
|
||||
|
||||
|
@ -39,7 +38,6 @@ __cdecl
|
|||
_RTC_UninitUse(
|
||||
const char *_Varname)
|
||||
{
|
||||
DbgPrint("Use of uninitialized variable %s!\n", _Varname);
|
||||
__debugbreak();
|
||||
}
|
||||
|
||||
|
@ -61,7 +59,6 @@ _RTC_CheckStackVars(
|
|||
/* Check if they contain the guard bytes */
|
||||
if ((*guard1 != 0xCCCCCCCC) || (*guard2 != 0xCCCCCCCC))
|
||||
{
|
||||
DbgPrint("Stack corruption near '%s'\n", _Fd->variables[i].name);
|
||||
__debugbreak();
|
||||
}
|
||||
}
|
||||
|
@ -127,4 +124,3 @@ _RTC_AllocaHelper(
|
|||
*_PAllocaInfoList = _PAllocaBase;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in a new issue