Pārlūkot izejas kodu

use python 2 2 or earlier

Dave Schuyler 20 gadi atpakaļ
vecāks
revīzija
533f3b9e85
2 mainītis faili ar 5 papildinājumiem un 1 dzēšanām
  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