Skip to content

Commit e1c5ceb

Browse files
committed
Detect if we have AF_UNIX header
1 parent 49a7149 commit e1c5ceb

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add Unix domain socket on Windows. Patched by AN Long.

PC/pyconfig.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,9 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
672672
/* #define HAVE_SYS_UN_H 1 */
673673

674674
/* Define if you have the <afunix.h> header file. */
675+
#if defined(NTDDI_WIN10_RS4) && (NTDDI_VERSION >= NTDDI_WIN10_RS4)
675676
#define HAVE_AFUNIX_H 1
677+
#endif
676678

677679
/* Define if you have the <sys/utime.h> header file. */
678680
/* #define HAVE_SYS_UTIME_H 1 */

0 commit comments

Comments
 (0)