X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/13741c7ec54a9ff03c0b6bb5b4fe065334c93f9d..da6768b9e69afe2f59f8797c038f3fe6495807ee:/windows/winmisc.c diff --git a/windows/winmisc.c b/windows/winmisc.c index 2166f453..e3321b53 100644 --- a/windows/winmisc.c +++ b/windows/winmisc.c @@ -68,6 +68,7 @@ Filename *filename_deserialise(void *vdata, int maxsize, int *used) return filename_from_str(data); } +#ifndef __WINE__ /* No SecureZeroMemory in Winelib 1.4 */ /* * Windows implementation of smemclr (see misc.c) using SecureZeroMemory. */ @@ -75,6 +76,7 @@ void smemclr(void *b, size_t n) { if (b && n > 0) SecureZeroMemory(b, n); } +#endif char *get_username(void) {