File tree 1 file changed +12
-4
lines changed
1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -288,15 +288,23 @@ enum {
288
288
#define FREE (m , s ) free(m)
289
289
#define ALIGN (s , a ) (((s) + (a)-1) & ~((a)-1))
290
290
291
+ #ifndef ALEVEL
291
292
#define ALEVEL 2
293
+ #endif
292
294
293
295
#define ASSERT (c ,m ) if (!(c)) Crash(m); // (breakpoint in Crash() to see why)
294
296
#if (ALEVEL > 0 )
295
- #define ASSERT1 (c ,m ) if (!(c)) Crash(m); // Not in beta releases
296
- #if (ALEVEL > 1 )
297
- #define ASSERT2 (c ,m ) if (!(c)) Crash(m); // Not in any releases
298
- #endif
297
+ # define ASSERT1 (c ,m ) if (!(c)) Crash(m); // Not in beta releases
298
+ # if (ALEVEL > 1 )
299
+ # define ASSERT2 (c ,m ) if (!(c)) Crash(m); // Not in any releases
300
+ # else
301
+ # define ASSERT2
302
+ # endif
303
+ #else
304
+ # define ASSERT1
305
+ # define ASSERT2
299
306
#endif
307
+
300
308
#define MEM_CARE 5 // Lower number for more frequent checks
301
309
302
310
You can’t perform that action at this time.
0 commit comments