Browse Source

Fix interrogate understanding of PY_VERSION_HEX

rdb 11 years ago
parent
commit
31a192f27b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      dtool/src/parser-inc/Python.h

+ 3 - 0
dtool/src/parser-inc/Python.h

@@ -25,4 +25,7 @@ class PyThreadState;
 typedef int Py_ssize_t;
 struct Py_buffer;
 
+// This file defines PY_VERSION_HEX, which is used in some places.
+#include "patchlevel.h"
+
 #endif  // PYTHON_H