mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:02:56 +00:00
Create a branch for Aleksandar Andrejevic for his work on NTVDM. See http://jira.reactos.org/browse/CORE-7250 for more details.
svn path=/branches/ntvdm/; revision=59241
This commit is contained in:
parent
3e3200acef
commit
4f0b8d3db0
20620 changed files with 0 additions and 1232833 deletions
20
lib/sdk/crt/include/internal/safecrt.h
Normal file
20
lib/sdk/crt/include/internal/safecrt.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
#include <errno.h>
|
||||
|
||||
extern void * __pInvalidArgHandler;
|
||||
|
||||
void _invalid_parameter(
|
||||
const wchar_t * expression,
|
||||
const wchar_t * function,
|
||||
const wchar_t * file,
|
||||
unsigned int line,
|
||||
uintptr_t pReserved);
|
||||
|
||||
#ifndef _LIBCNT_
|
||||
#define MSVCRT_INVALID_PMT(x) _invalid_parameter(NULL, NULL, NULL, 0, 0)
|
||||
#define MSVCRT_CHECK_PMT(x) ((x) || (MSVCRT_INVALID_PMT(0),0))
|
||||
#else
|
||||
/* disable secure crt parameter checks */
|
||||
#define MSVCRT_CHECK_PMT
|
||||
#define MSVCRT_INVALID_PMT
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue