summaryrefslogtreecommitdiffstats
path: root/Modules/addrinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/addrinfo.h')
-rw-r--r--Modules/addrinfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/addrinfo.h b/Modules/addrinfo.h
index 20f7650..c3c8624 100644
--- a/Modules/addrinfo.h
+++ b/Modules/addrinfo.h
@@ -141,7 +141,7 @@ struct addrinfo {
* RFC 2553: protocol-independent placeholder for socket addresses
*/
#define _SS_MAXSIZE 128
-#define _SS_ALIGNSIZE (sizeof(PY_LONG_LONG))
+#define _SS_ALIGNSIZE (sizeof(long long))
#define _SS_PAD1SIZE (_SS_ALIGNSIZE - sizeof(u_char) * 2)
#define _SS_PAD2SIZE (_SS_MAXSIZE - sizeof(u_char) * 2 - \
_SS_PAD1SIZE - _SS_ALIGNSIZE)
@@ -154,7 +154,7 @@ struct sockaddr_storage {
unsigned short ss_family; /* address family */
#endif /* HAVE_SOCKADDR_SA_LEN */
char __ss_pad1[_SS_PAD1SIZE];
- PY_LONG_LONG __ss_align; /* force desired structure storage alignment */
+ long long __ss_align; /* force desired structure storage alignment */
char __ss_pad2[_SS_PAD2SIZE];
};
#endif /* !HAVE_SOCKADDR_STORAGE */