diff options
Diffstat (limited to 'Parser/assert.h')
-rw-r--r-- | Parser/assert.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Parser/assert.h b/Parser/assert.h deleted file mode 100644 index d4ed72c..0000000 --- a/Parser/assert.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef Py_ASSERT_H -#define Py_ASSERT_H -#ifdef __cplusplus -extern "C" { -#endif - - -#ifdef MPW /* This is for MPW's File command */ - -#define assert(e) { if (!(e)) { printf("### Python: Assertion failed:\n\ - File %s; Line %d\n", __FILE__, __LINE__); abort(); } } -#else -#define assert(e) { if (!(e)) { printf("Assertion failed\n"); abort(); } } -#endif - -#ifdef __cplusplus -} -#endif -#endif /* !Py_ASSERT_H */ |