dos_compilers/Manx Aztec C86 v52a/INCLUDE/ASSERT.H
2024-07-02 08:25:54 -07:00

14 lines
302 B
C

/* Copyright Manx Software Systems, Inc. 1990. All rights reserved */
#ifndef __ASSERT_H
#define __ASSERT_H
#ifndef NDEBUG
void _assert(char *, char *, unsigned int);
#define assert(x) (x == 0 ? _assert(#x, __FILE__, __LINE__):(void)0)
#else
#define assert(x) ((void)0)
#endif
#endif