summaryrefslogtreecommitdiffstats
path: root/Modules/addrinfo.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-07-19 17:37:46 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-07-19 17:37:46 (GMT)
commitd783041a140da2b8011ef42dd42e795b1ade8ceb (patch)
treeea00f184a4482f67f0ae64d89cc87c1d43bf2a99 /Modules/addrinfo.h
parent1bdd0f255997ded18117e0e33916b67bd023cc47 (diff)
downloadcpython-d783041a140da2b8011ef42dd42e795b1ade8ceb.zip
cpython-d783041a140da2b8011ef42dd42e795b1ade8ceb.tar.gz
cpython-d783041a140da2b8011ef42dd42e795b1ade8ceb.tar.bz2
Port getaddrinfo to MSVC++.
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 0782afe..6d0991d 100644
--- a/Modules/addrinfo.h
+++ b/Modules/addrinfo.h
@@ -105,7 +105,7 @@ struct addrinfo {
*/
#define _SS_MAXSIZE 128
#ifdef HAVE_LONG_LONG
-#define _SS_ALIGNSIZE (sizeof(long long))
+#define _SS_ALIGNSIZE (sizeof(LONG_LONG))
#else
#define _SS_ALIGNSIZE (sizeof(double))
#endif
@@ -122,7 +122,7 @@ struct sockaddr_storage {
#endif
char __ss_pad1[_SS_PAD1SIZE];
#ifdef HAVE_LONG_LONG
- long long __ss_align; /* force desired structure storage alignment */
+ LONG_LONG __ss_align; /* force desired structure storage alignment */
#else
double __ss_align; /* force desired structure storage alignment */
#endif