Skip to content

Commit

Permalink
configure: build mmap module on win32
Browse files Browse the repository at this point in the history
  • Loading branch information
naveen521kk authored and lazka committed Jul 19, 2023
1 parent 4262bc1 commit d415780
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -7463,7 +7463,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"
Expand Down

0 comments on commit d415780

Please sign in to comment.