From: Jan-Benedict G. <jb...@us...> - 2005-11-01 10:57:04
|
Update of /cvsroot/linux-vax/toolchain/patches In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27806 Added Files: gcc-000007-native_build.patch Log Message: - This adds a missing define. - The value is guessed; if it's wrong, it won't break anything, because it's only performance relevant. - Probably the whole function using it should be updated, maybe by copying the darwin function... --- NEW FILE: gcc-000007-native_build.patch --- diff -Nurp src-gcc-fresh/gcc/config/host-linux.c src-gcc-hacked/gcc/config/host-linux.c --- src-gcc-fresh/gcc/config/host-linux.c 2005-10-28 18:32:26.000000000 +0200 +++ src-gcc-hacked/gcc/config/host-linux.c 2005-11-01 10:36:34.000000000 +0100 @@ -89,8 +89,12 @@ # define TRY_EMPTY_VM_SPACE 0 #endif +#ifndef SSIZE_MAX +# define SSIZE_MAX 4096 +#endif + /* Determine a location where we might be able to reliably allocate SIZE - bytes. FD is the PCH file, though we should return with the file + bytes. FD is the PCH file, though we should return with the file unmapped. */ static void * |