|
|
1.1 root 1: /***
2: *assert.h - define the assert macro
3: *
4: * Copyright (c) 1985-1990, Microsoft Corporation. All rights reserved.
5: *
6: *Purpose:
7: * Defines the assert(exp) macro.
8: * [ANSI/System V]
9: *
10: ****/
11:
12:
13: #undef assert
14:
15: #ifdef NDEBUG
16:
17: #define assert(exp)
18:
19: #else
20:
21: void _cdecl _assert(void *, void *, unsigned);
22: #define assert(exp) \
23: ( (exp) ? (void) 0 : _assert(#exp, __FILE__, __LINE__) )
24:
25: #endif /* NDEBUG */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.