Should have been part of r9663: do use the platform-independent version
authorben <ben@cda61777-01e9-0310-a592-d414129be87e>
Thu, 13 Sep 2012 23:00:29 +0000 (23:00 +0000)
committerben <ben@cda61777-01e9-0310-a592-d414129be87e>
Thu, 13 Sep 2012 23:00:29 +0000 (23:00 +0000)
of smemclr when compiling with Winelib.

git-svn-id: svn://svn.tartarus.org/sgt/putty@9665 cda61777-01e9-0310-a592-d414129be87e

windows/winstuff.h

index d81515d..985e01a 100644 (file)
@@ -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: