mirror of
https://github.com/SEPPDROID/Digital-Research-Source-Code.git
synced 2025-10-26 09:54:20 +00:00
Upload
Digital Research
This commit is contained in:
11
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/6/ASSERT.H
Normal file
11
CPM OPERATING SYSTEMS/CPM 68K/1.2 SOURCE/6/ASSERT.H
Normal file
@@ -0,0 +1,11 @@
|
||||
/* ASSERT macro */
|
||||
|
||||
#ifndef NDEBUG
|
||||
#define ASSERT(expr) {if(!(expr)) printf("assertion failed: expr\n");}
|
||||
#else
|
||||
#define ASSERT(expr)
|
||||
#endif
|
||||
RT(expr)
|
||||
#endif
|
||||
RT(expr)
|
||||
#endif
|
||||
Reference in New Issue
Block a user