Alexandre Julliard : configure: Don't reserve page zero on Mac OS, it won' t run DOS apps anyway.

Alexandre Julliard julliard at winehq.org
Mon Aug 1 13:22:14 CDT 2011


Module: wine
Branch: master
Commit: 65d1760452901b7ccdcac46bfdc539a3844200ff
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=65d1760452901b7ccdcac46bfdc539a3844200ff

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Aug  1 17:03:07 2011 +0200

configure: Don't reserve page zero on Mac OS, it won't run DOS apps anyway.

---

 configure    |    2 +-
 configure.ac |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 130b4b3..0fbfd51 100755
--- a/configure
+++ b/configure
@@ -6417,7 +6417,7 @@ fi
 
     APPLICATIONSERVICESLIB="-framework ApplicationServices"
 
-    LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
+    LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
 
     if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
     then
diff --git a/configure.ac b/configure.ac
index cb68b3b..8104f7f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -697,7 +697,7 @@ case $host_os in
     AC_SUBST(COREFOUNDATIONLIB,"-framework CoreFoundation")
     AC_SUBST(IOKITLIB,"-framework IOKit -framework CoreFoundation")
     AC_SUBST(APPLICATIONSERVICESLIB,"-framework ApplicationServices")
-    AC_SUBST(LDEXECFLAGS,["-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHAREDHEAP,0x7f000000"])
+    AC_SUBST(LDEXECFLAGS,["-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"])
     if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
     then
         dnl DiskArbitration API is not public on Darwin < 8.0, use it only if header found




More information about the wine-cvs mailing list