]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
patch #1416559: don't define _XOPEN_SOURCE on Mac OS Panther
authorGeorg Brandl <georg@python.org>
Sat, 1 Apr 2006 08:51:29 +0000 (08:51 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 1 Apr 2006 08:51:29 +0000 (08:51 +0000)
 (backport from rev. 43536)

configure
configure.in

index 53c6feda615c24c4e294d2ef0edf2b04cb960801..32be6ed2e14c392462a804a12fbd24d9eb94b267 100755 (executable)
--- a/configure
+++ b/configure
@@ -1513,7 +1513,9 @@ case $ac_sys_system/$ac_sys_release in
     ;;
   # On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
   # disables platform specific features beyond repair.
-  Darwin/8.*)
+  # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE 
+  # has no effect, don't bother defineing them
+  Darwin/[78].*)
     define_xopen_source=no
     ;;
 
index 459e1061b2bf4fb8e2771d2909fc1af4c31f91ea..a520b82136ce157b6c2689e4610811b8933c6ec5 100644 (file)
@@ -173,7 +173,9 @@ case $ac_sys_system/$ac_sys_release in
     ;;
   # On Mac OS X 10.4, defining _POSIX_C_SOURCE or _XOPEN_SOURCE
   # disables platform specific features beyond repair.
-  Darwin/8.*)
+  # On Mac OS X 10.3, defining _POSIX_C_SOURCE or _XOPEN_SOURCE 
+  # has no effect, don't bother defineing them
+  Darwin/[78].*)
     define_xopen_source=no
     ;;