diff options
Diffstat (limited to 'src/assuan-defs.h')
-rw-r--r-- | src/assuan-defs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/assuan-defs.h b/src/assuan-defs.h index 48463b3..6e23771 100644 --- a/src/assuan-defs.h +++ b/src/assuan-defs.h @@ -22,7 +22,7 @@ #define ASSUAN_DEFS_H #include <sys/types.h> -#ifndef _WIN32 +#ifndef HAVE_W32_SYSTEM #include <sys/socket.h> #include <sys/un.h> #else @@ -32,13 +32,13 @@ #include "assuan.h" -#ifndef _WIN32 +#ifndef HAVE_W32_SYSTEM #define DIRSEP_C '/' #else #define DIRSEP_C '\\' #endif -#ifdef _WIN32 +#ifdef HAVE_W32_SYSTEM #define AF_LOCAL AF_UNIX /* We need to prefix the structure with a sockaddr_in header so we can use it later for sendto and recvfrom. */ |