]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-windows-rx-xmit-20090402
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 2 Apr 2009 08:45:00 +0000 (08:45 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 2 Apr 2009 08:45:00 +0000 (08:45 +0000)
LICENSE IPL10

permit compilation with Windows SDK v6.0/6.1 which hides
previously exposed XP symbols unless _WINNT_WIN32 is at
least 0x0501

(cherry picked from commit fc408da993e753d33336ab408167383a75ed97f0)

src/rx/rx_xmit_nt.c

index 255eb8f412f37d320623027710bf78ac9395f4d1..fd8fdbdeded9da1f73b50f3b625ce00c7ce2edd9 100644 (file)
@@ -23,6 +23,10 @@ RCSID
 #if defined(AFS_NT40_ENV)
 
 #include <winsock2.h>
+#if (_WIN32_WINNT < 0x0501)
+#undef _WIN32_WINNT
+#define _WIN32_WINNT 0x0501
+#endif
 #include <mswsock.h>
 
 #if (_WIN32_WINNT < 0x0600)