From: ben Date: Thu, 13 Sep 2012 23:00:29 +0000 (+0000) Subject: Should have been part of r9663: do use the platform-independent version X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/cf9905debc2889e645ddc09658693a60553f081b Should have been part of r9663: do use the platform-independent version of smemclr when compiling with Winelib. git-svn-id: svn://svn.tartarus.org/sgt/putty@9665 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/windows/winstuff.h b/windows/winstuff.h index d81515dc..985e01a7 100644 --- a/windows/winstuff.h +++ b/windows/winstuff.h @@ -75,7 +75,9 @@ struct FontSpec *fontspec_new(const char *name, #define BOXRESULT (DLGWINDOWEXTRA + sizeof(LONG_PTR)) #define DF_END 0x0001 +#ifndef __WINE__ /* No SecureZeroMemory in Winelib 1.4 */ #define PLATFORM_HAS_SMEMCLR /* inhibit cross-platform one in misc.c */ +#endif /* * Dynamically linked functions. These come in two flavours: