diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-07-19 17:37:46 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-07-19 17:37:46 +0000 |
commit | d783041a140da2b8011ef42dd42e795b1ade8ceb (patch) | |
tree | ea00f184a4482f67f0ae64d89cc87c1d43bf2a99 /Modules/addrinfo.h | |
parent | SF bug #44271: os.path.expanduser problem w/o HOME set. (diff) | |
download | cpython-d783041a140da2b8011ef42dd42e795b1ade8ceb.tar.gz cpython-d783041a140da2b8011ef42dd42e795b1ade8ceb.tar.bz2 cpython-d783041a140da2b8011ef42dd42e795b1ade8ceb.zip |
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 0782afeac05..6d0991dee39 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 |