diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-08-31 14:39:23 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-08-31 14:39:23 -0700 |
commit | 5ff25beec7ad7fb229b943ecb86fe55bcad531c4 (patch) | |
tree | 0c9dc7ea5723347abf7836b66695804a0f3ac546 /Win32/Include/net/netdb.h | |
parent | 1a44e70c2d2b754b3f92c66a0a590f6fdc347566 (diff) |
The official #define for 32-bit and 64-bit Windows is _WIN32.
It's _WIN32, with a leading underscore, not WIN32. See, for example:
https://sourceforge.net/p/predef/wiki/OperatingSystems/
and
https://msdn.microsoft.com/en-us/library/b0084kay.aspx
*Some* environments may also define WIN32, but we shouldn't depend on
that.
Diffstat (limited to 'Win32/Include/net/netdb.h')
-rw-r--r-- | Win32/Include/net/netdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Win32/Include/net/netdb.h b/Win32/Include/net/netdb.h index f7685d25..49fcd509 100644 --- a/Win32/Include/net/netdb.h +++ b/Win32/Include/net/netdb.h @@ -81,7 +81,7 @@ struct rpcent { int r_number; /* rpc program number */ }; -#ifndef WIN32 +#ifndef _WIN32 #if defined(_POSIX_THREAD_SAFE_FUNCTIONS) || defined(_REENTRANT) #define __NETDB_MAXALIASES 35 |