25 lines
976 B
Diff
25 lines
976 B
Diff
From a778e3ff80ce714a42aa2280b600c844f916e4f8 Mon Sep 17 00:00:00 2001
|
|
From: Naveen M K <naveen521kk@gmail.com>
|
|
Date: Fri, 23 Jun 2023 20:15:38 +0530
|
|
Subject: [PATCH 087/N] configure: build `mmap` module on win32
|
|
|
|
---
|
|
configure.ac | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 8462adb..f1947af 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -7917,7 +7917,9 @@ PY_STDLIB_MOD([fcntl],
|
|
[], [test "$ac_cv_header_sys_ioctl_h" = "yes" -a "$ac_cv_header_fcntl_h" = "yes"],
|
|
[], [$FCNTL_LIBS])
|
|
PY_STDLIB_MOD([mmap],
|
|
- [], [test "$ac_cv_header_sys_mman_h" = "yes" -a "$ac_cv_header_sys_stat_h" = "yes"])
|
|
+ [], m4_flatten([test "$ac_cv_header_sys_mman_h" = "yes"
|
|
+ -a "$ac_cv_header_sys_stat_h" = "yes"
|
|
+ -o "$MACHDEP" = "win32"]))
|
|
PY_STDLIB_MOD([_socket],
|
|
[], m4_flatten([test "$ac_cv_header_sys_socket_h" = "yes"
|
|
-a "$ac_cv_header_sys_types_h" = "yes"
|