summaryrefslogtreecommitdiffstats
path: root/tap-win32/tapdrvr.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-01-22 23:52:08 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-01-22 23:52:08 +0000
commit44b3dcc8927c4bde391792a4632198cecba29f8d (patch)
tree73be6943affe1bc08a0bdff8c1befa59af463b90 /tap-win32/tapdrvr.c
parentf02576fa8b18132df009ea1f8d6aea07e06d5059 (diff)
downloadopenvpn-44b3dcc8927c4bde391792a4632198cecba29f8d.tar.gz
openvpn-44b3dcc8927c4bde391792a4632198cecba29f8d.tar.xz
openvpn-44b3dcc8927c4bde391792a4632198cecba29f8d.zip
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
Diffstat (limited to 'tap-win32/tapdrvr.c')
-rwxr-xr-xtap-win32/tapdrvr.c8
1 files changed, 4 insertions, 4 deletions
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 <ndis.h>
#include <ntstrsafe.h>
#include <ntddk.h>
@@ -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);