2 *assert.h - define the assert macro
4 * Copyright (c) 1985-1988, Microsoft Corporation. All rights reserved.
7 * Defines the assert(exp) macro.
10 *******************************************************************************/
13 #ifndef _ASSERT_DEFINED
17 static char _assertstring[] = "Assertion failed: %s, file %s, line %d\n";
19 #define assert(exp) { \
21 fprintf(stderr, _assertstring, #exp, __FILE__, __LINE__); \
33 #define _ASSERT_DEFINED
35 #endif /* _ASSERT_DEFINED */