diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-07-19 17:37:46 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-07-19 17:37:46 (GMT) |
commit | d783041a140da2b8011ef42dd42e795b1ade8ceb (patch) | |
tree | ea00f184a4482f67f0ae64d89cc87c1d43bf2a99 /Modules/addrinfo.h | |
parent | 1bdd0f255997ded18117e0e33916b67bd023cc47 (diff) | |
download | cpython-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.h | 4 |
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 |