From 44b3dcc8927c4bde391792a4632198cecba29f8d Mon Sep 17 00:00:00 2001 From: james Date: Tue, 22 Jan 2008 23:52:08 +0000 Subject: Upgraded TAP build scripts to use WDK 6001.17121 (Windows 2008 Server pre-RTM). Fixed typo of DESC_SecPKCS11DLLs in openvpn.nsi. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2651 e7ae566f-a301-0410-adde-c780ea21d3b5 --- tap-win32/tapdrvr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tap-win32/tapdrvr.c') diff --git a/tap-win32/tapdrvr.c b/tap-win32/tapdrvr.c index 989b44c..ca02d13 100755 --- a/tap-win32/tapdrvr.c +++ b/tap-win32/tapdrvr.c @@ -40,8 +40,8 @@ //====================================================== #include "../../autodefs/defs.h" -#ifndef DDKVER -#error DDKVER must be defined to the DDK Version as in c:\WinDDK\[DDKVER]\... +#ifndef DDKVER_MAJOR +#error DDKVER_MAJOR must be defined as the major number of the DDK Version #endif #define NDIS_MINIPORT_DRIVER @@ -70,7 +70,7 @@ //======================================================== #define ENABLE_NONADMIN 1 -#if DDKVER < 5600 +#if DDKVER_MAJOR < 5600 #include #include #include @@ -419,7 +419,7 @@ NDIS_STATUS AdapterCreate } } } else { -#if DDKVER < 5600 +#if DDKVER_MAJOR < 5600 /* "MiniportName" is available only XP and above. Not on Windows 2000. */ NDIS_STRING key = NDIS_STRING_CONST("NdisVersion"); NdisReadConfiguration (&status, &parm, configHandle, &key, NdisParameterInteger); -- cgit