assert.h was not always included by Python.h; make sure we import it for

older versions.  (Thanks to Martijn Faassen.)
This commit is contained in:
Fred Drake
2001-11-18 02:36:07 +00:00
parent ef6373a4f6
commit 8188e792d9

View File

@@ -1,4 +1,7 @@
#include "Python.h"
#if PY_VERSION_HEX < 0x020000B1
#include <assert.h>
#endif
#include <ctype.h>
#include "compile.h"