From 942aca34d1b545904795b29d36cd1b07d81f848f Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Thu, 13 Sep 2012 23:00:29 +0000 Subject: [PATCH] Should have been part of r9663: do use the platform-independent version of smemclr when compiling with Winelib. [originally from svn r9665] [r9663 == 3b27c3e32b8fe560c5b2bb35781038715abf29c2] --- windows/winstuff.h | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.45.2