浏览代码

use python 2 2 or earlier

Dave Schuyler 20 年之前
父节点
当前提交
533f3b9e85
共有 2 个文件被更改,包括 5 次插入1 次删除
  1. 4 0
      dtool/Config.pp
  2. 1 1
      dtool/LocalSetup.pp

+ 4 - 0
dtool/Config.pp

@@ -102,6 +102,10 @@
 
 // #define INSTALL_LIB_DIR /usr/lib/python2.2/site-packages
 
+// If you  want to use python 2.2 or earlier, you may need this defined:
+// (Later versions of Python handle signed and unsigned integers differently).
+// #define USE_PYTHON_2_2_OR_EARLIER
+
 
 // The character used to separate components of an OS-specific
 // directory name depends on the platform (it is '/' on Unix, '\' on

+ 1 - 1
dtool/LocalSetup.pp

@@ -449,6 +449,6 @@ $[cdefine MODERN_STYLE_ALLOCATOR]
 $[cdefine NO_STYLE_ALLOCATOR]
 
 /* Define if you want to use Python before 2.3.  */
-$[cdefine USING_PYTHON_2_2_OR_EARLIER]
+$[cdefine USE_PYTHON_2_2_OR_EARLIER]
 
 #end dtool_config.h