Skip to content

Commit d415780

Browse files
naveen521kklazka
authored andcommitted
configure: build mmap module on win32
1 parent 4262bc1 commit d415780

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configure.ac

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7463,7 +7463,9 @@ PY_STDLIB_MOD([fcntl],
74637463
[], [test "$ac_cv_header_sys_ioctl_h" = "yes" -a "$ac_cv_header_fcntl_h" = "yes"],
74647464
[], [$FCNTL_LIBS])
74657465
PY_STDLIB_MOD([mmap],
7466-
[], [test "$ac_cv_header_sys_mman_h" = "yes" -a "$ac_cv_header_sys_stat_h" = "yes"])
7466+
[], m4_flatten([test "$ac_cv_header_sys_mman_h" = "yes"
7467+
-a "$ac_cv_header_sys_stat_h" = "yes"
7468+
-o "$MACHDEP" = "win32"]))
74677469
PY_STDLIB_MOD([_socket],
74687470
[], m4_flatten([test "$ac_cv_header_sys_socket_h" = "yes"
74697471
-a "$ac_cv_header_sys_types_h" = "yes"

0 commit comments

Comments
 (0)