mirror of
https://github.com/reactos/reactos.git
synced 2025-07-24 16:03:45 +00:00
Sync with trunk r63270.
svn path=/branches/shell-experiments/; revision=63271
This commit is contained in:
commit
8db8073cbb
452 changed files with 42806 additions and 6586 deletions
|
@ -11,10 +11,12 @@ void _invalid_parameter(
|
|||
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))
|
||||
#define MSVCRT_INVALID_PMT(x,err) (*_errno() = (err), _invalid_parameter(NULL, NULL, NULL, 0, 0))
|
||||
#define MSVCRT_CHECK_PMT_ERR(x,err) ((x) || (MSVCRT_INVALID_PMT( 0, (err) ), 0))
|
||||
#define MSVCRT_CHECK_PMT(x) MSVCRT_CHECK_PMT_ERR((x), EINVAL)
|
||||
#else
|
||||
/* disable secure crt parameter checks */
|
||||
#define MSVCRT_CHECK_PMT
|
||||
#define MSVCRT_INVALID_PMT
|
||||
#define MSVCRT_INVALID_PMT(x,err)
|
||||
#define MSVCRT_CHECK_PMT_ERR(x,err)
|
||||
#define MSVCRT_CHECK_PMT(x) (x)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue