]> granicus.if.org Git - python/commitdiff
patch #1416559: don't define _XOPEN_SOURCE on Mac OS Panther
authorGeorg Brandl <georg@python.org>
Sat, 1 Apr 2006 08:51:25 +0000 (08:51 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 1 Apr 2006 08:51:25 +0000 (08:51 +0000)
configure
configure.in

index c5b795f4914f8e2d9abf264601c76ddd19010744..7151b2e988dacf32eacfdf8bc0c616720c5d1968 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 8a73c4fdd331c77426c41157a883f0bbdec3d28a..a8b91d651711f74a3f79057fab579c555dbd946b 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
     ;;