[PATCH] Fortran: Fix libfortran cross MinGW header case
ZENG Hao <[email protected]>
| Newsgroups | gmane.comp.gcc.patches,gmane.comp.gcc.fortran |
|---|---|
| Message-ID | <[email protected]> |
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> -- 2.53.0