]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merged revisions 71745 via svnmerge from
authorRonald Oussoren <ronaldoussoren@mac.com>
Sun, 19 Apr 2009 10:41:42 +0000 (10:41 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Sun, 19 Apr 2009 10:41:42 +0000 (10:41 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r71745 | ronald.oussoren | 2009-04-19 12:40:48 +0200 (Sun, 19 Apr 2009) | 9 lines

  Merged revisions 71743 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r71743 | ronald.oussoren | 2009-04-19 12:38:20 +0200 (Sun, 19 Apr 2009) | 2 lines

    Fix for issue5657.
  ........
................

Include/pymacconfig.h

index a8679af498ff7c58634d8ea964a806a40de2c407..b2cc0b74a7830b8ed8a6d4db635a984db2166b91 100644 (file)
 #define WORDS_BIGENDIAN 1
 #endif /* __BIG_ENDIAN */
 
+       /* 
+        * The definition in pyconfig.h is only valid on the OS release
+        * where configure ran on and not necessarily for all systems where
+        * the executable can be used on. 
+        * 
+        * Specifically: OSX 10.4 has limited supported for '%zd', while
+        * 10.5 has full support for '%zd'. A binary built on 10.5 won't
+        * work properly on 10.4 unless we surpress the definition
+        * of PY_FORMAT_SIZE_T
+        */
+#undef PY_FORMAT_SIZE_T
+
 
 #endif /* defined(_APPLE__) */