diff --git a/api/adapter.c b/api/adapter.c index 6ad7ec7..8ace66c 100644 --- a/api/adapter.c +++ b/api/adapter.c @@ -799,12 +799,10 @@ RtlGetNtVersionNumbers(_Out_opt_ DWORD *MajorVersion, _Out_opt_ DWORD *MinorVers static BOOL HaveWHQL(void) { -#if defined(HAVE_EV) && defined(HAVE_WHQL) +#if defined(HAVE_WHQL) DWORD MajorVersion; RtlGetNtVersionNumbers(&MajorVersion, NULL, NULL); return MajorVersion >= 10; -#elif defined(HAVE_WHQL) - return TRUE; #else return FALSE; #endif diff --git a/api/api.vcxproj b/api/api.vcxproj index bb70111..3c7dca7 100644 --- a/api/api.vcxproj +++ b/api/api.vcxproj @@ -143,14 +143,12 @@ _WINDOWS;_USRDLL;%(PreprocessorDefinitions) - HAVE_EV;%(PreprocessorDefinitions) HAVE_WHQL;%(PreprocessorDefinitions) Use pch.h ..\$(Configuration)\$(WintunPlatform);..\$(Configuration);%(AdditionalIncludeDirectories) - HAVE_EV;%(PreprocessorDefinitions) HAVE_WHQL;%(PreprocessorDefinitions) _M_IX86=600;%(PreprocessorDefinitions) _M_AMD64=100;%(PreprocessorDefinitions) diff --git a/api/resources.rc b/api/resources.rc index e2abe18..5716b9d 100644 --- a/api/resources.rc +++ b/api/resources.rc @@ -6,11 +6,9 @@ #include #include -#ifdef HAVE_EV wintun.cat RCDATA "wintun\\wintun.cat" wintun.inf RCDATA "wintun\\wintun.inf" wintun.sys RCDATA "wintun\\wintun.sys" -#endif #ifdef HAVE_WHQL wintun-whql.cat RCDATA "whql\\wintun.cat"