Invent a win_strerror() function which behaves as much like Unix
[u/mdw/putty] / windows / winstuff.h
index d81515d..6571172 100644 (file)
@@ -75,7 +75,9 @@ struct FontSpec *fontspec_new(const char *name,
 #define BOXRESULT (DLGWINDOWEXTRA + sizeof(LONG_PTR))
 #define DF_END 0x0001
 
+#ifndef NO_SECUREZEROMEMORY
 #define PLATFORM_HAS_SMEMCLR /* inhibit cross-platform one in misc.c */
+#endif
 
 /*
  * Dynamically linked functions. These come in two flavours:
@@ -459,6 +461,7 @@ void show_help(HWND hwnd);
 extern OSVERSIONINFO osVersion;
 BOOL init_winver(void);
 HMODULE load_system32_dll(const char *libname);
+const char *win_strerror(int error);
 
 /*
  * Exports from sizetip.c.