mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 19:42:48 -05:00
More assorted Winelib warning fixes.
The previous fix on pre-0.77 was non-disruptive and just enough to get through my Coverity build (which uses winelib); but now that I look at the rest of the Winelib build output, there are some further warnings I should fix on main. Most of them are more long/LONG confusion (specific to Winelib, rather than real Windows); also, there's a multiple macro definition in jump-list.c because Winelib defines _PROPVARIANT_INIT_DEFINED_ in place of _PROPVARIANTINIT_DEFINED_ which we were testing for. (Bah.) And in windows/window.c I used wcscmp without including <wchar.h>. In spite of long vs LONG I still had to turn off one or two more DLL-loading typechecks.
This commit is contained in:
@ -41,7 +41,7 @@ typedef struct _tagpropertykey {
|
||||
typedef PROPVARIANT *REFPROPVARIANT;
|
||||
#endif
|
||||
/* MinGW doesn't define this yet: */
|
||||
#ifndef _PROPVARIANTINIT_DEFINED_
|
||||
#if !defined _PROPVARIANTINIT_DEFINED_ && !defined _PROPVARIANT_INIT_DEFINED_
|
||||
#define _PROPVARIANTINIT_DEFINED_
|
||||
#define PropVariantInit(pvar) memset((pvar),0,sizeof(PROPVARIANT))
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user