- Remove IsBadWritePtr hack. Patch by Katayama Hirofumi MZ.
CORE-12136 #resolve

svn path=/trunk/; revision=72959
This commit is contained in:
Thomas Faber 2016-10-12 12:07:44 +00:00
parent 8fb10f0eea
commit 3d2b354712

View file

@ -13,12 +13,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(resource);
typedef DWORD (WINAPI *CMP_REGNOTIFY) (HANDLE, LPVOID, DWORD, PULONG);
typedef DWORD (WINAPI *CMP_UNREGNOTIFY) (ULONG );
/* FIXME: Currently IsBadWritePtr is implemented using VirtualQuery which
does not seem to work properly for stack address space. */
/* kill `left-hand operand of comma expression has no effect' warning */
#define IsBadWritePtr(lp, n) ((DWORD)lp==n?0:0)
static HINSTANCE hSetupApi = NULL;
/**********************************************************************