From: Ben Harris 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-Tag: 0.63~134 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=942aca34d1b545904795b29d36cd1b07d81f848f;p=PuTTY.git Should have been part of r9663: do use the platform-independent version of smemclr when compiling with Winelib. [originally from svn r9665] [r9663 == 3b27c3e32b8fe560c5b2bb35781038715abf29c2] --- 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: