]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Should have been part of r9663: do use the platform-independent version
authorBen Harris <bjh21@bjh21.me.uk>
Thu, 13 Sep 2012 23:00:29 +0000 (23:00 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Thu, 13 Sep 2012 23:00:29 +0000 (23:00 +0000)
of smemclr when compiling with Winelib.

[originally from svn r9665]
[r9663 == 3b27c3e32b8fe560c5b2bb35781038715abf29c2]

windows/winstuff.h

index d81515dc7071615ca9ac4a1c020e6044a2b902da..985e01a7a845188d36120c184833293d54a4d848 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: