ports/emulators/wine/files/patch-loader::main.c
Gerald Pfeifer 707a95b9e5 Revert an upstream change (which in turn reverted a fix which happened to
cause higher memory consumption).  This should avoid errors of the following
kind:

  err:virtual:map_image Standard load address for a Win32 program
  (0x00400000) not available

Bump PORTREVISION.

Problem reported by:	pav, Benjamin Lutz <benlutz@datacomm.ch>
2004-01-28 22:29:36 +00:00

17 lines
549 B
C

Index: loader/main.c
===================================================================
RCS file: /home/wine/wine/loader/main.c,v
retrieving revision 1.90
retrieving revision 1.89
diff -u -3 -p -r1.90 -r1.89
--- loader/main.c 20 Jan 2004 00:28:01 -0000 1.90
+++ loader/main.c 22 Nov 2003 00:08:26 -0000 1.89
@@ -29,7 +29,7 @@ int main( int argc, char *argv[] )
{
char error[1024];
-#if 0
+#ifdef __i386__
static char pe_load[256*1024*1024] __attribute__((aligned(4096)));
wine_set_pe_load_area( pe_load, sizeof(pe_load) );
#endif