This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Thread-safe libgfortran (PRs fortran/14943 and fortran/21647)
On Tue, Nov 22, 2005 at 12:37:15PM -0500, David Edelsohn wrote:
> We do not need anything that complicated. gthr.h already includes
> the appropriate AIX header. We just need to remove _LARGE_FILES (with an
> "S") and add _LARGE_FILE_API.
>
> #ifdef _AIX
> #undef _LARGE_FILES
> #define _LARGE_FILE_API
> #endif
>
> That appears to work.
>
You can commit a patch to 4.1 and mainline to get the
bootstrap working again. If you think that configure
should pick up _LARGE_FILE_API instead of _LARGE_FILES,
can you add a comment above the code so we don't forget
about this problem.
--
Steve