Re: [PATCH] Fortran: Fix libfortran cross MinGW header case
Jerry D <[email protected]>
| Newsgroups | gmane.comp.gcc.patches,gmane.comp.gcc.fortran |
|---|---|
| Message-ID | <[email protected]> |
On 3/1/26 8:50 PM, ZENG Hao wrote: > libgfortran ChangeLog: > * caf/shmem/shared_memory.c: fix header case > --- > > Those changes has been introduced for months, but it fails since 20260301 snapshot (20260222 OK). > I guess it is directly cased by e13b14030a300b3c94895e2c1d922c70ba3a271f (Fortran: Fix libfortran cannot be cross compiled [PR124286]). > > libgfortran/caf/shmem/shared_memory.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libgfortran/caf/shmem/shared_memory.c b/libgfortran/caf/shmem/shared_memory.c > index 0659e6ba023..c4bca5f2d42 100644 > --- a/libgfortran/caf/shmem/shared_memory.c > +++ b/libgfortran/caf/shmem/shared_memory.c > @@ -38,8 +38,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see > #ifdef HAVE_SYS_MMAN_H > #include <sys/mman.h> > #elif defined(WIN32) > -#include <Windows.h> > -#include <Memoryapi.h> > +#include <windows.h> > +#include <memoryapi.h> > #endif > #include <unistd.h> > This is simple enough, do you need this committed or can you? Regards, Jerry