1 /***
2 *assert.h - define the assert macro
3 *
4 *           Copyright (c) Microsoft Corporation. All rights reserved.
5 *
6 *Purpose:
7 *           Defines the assert(exp) macro.
8 *           [ANSI/System V]
9 *
10 *           [Public]
11 *
12 ****/
13
14 #include <crtdefs.h>
15
16 #undef  assert
17
18 #ifdef  NDEBUG
19
20 #define assert(_Expression)        ((void)0)
21
22 #else
23
24 #ifdef  __cplusplus
25 extern "C" {
26 #endif
27
28 _CRTIMP void __cdecl _wassert(_In_z_ const wchar_t * _Message, _In_z_ const wchar_t *_File, _In_ unsigned _Line);
29
30 #ifdef  __cplusplus
31 }
Lines 32 ... 35 are skipped.
36 #endif  /* NDEBUG */
37