Subject: Re: bug#6989: 24.0.50; w32.c:99: error: redefinition of `struct _PROCESS_MEMORY_COUNTERS_EX'

From: Eli Zaretskii <[email-masked]>
Date: Mon, 06 Sep 2010 02:18:11 -0400

> Date: Mon, 06 Sep 2010 01:55:19 +0100
> From: Stephen Powell <[email-masked]>
> Cc: 
> 
> I get this error when compiling emacs under cygwin:
> 
> w32.c:99: error: redefinition of `struct _PROCESS_MEMORY_COUNTERS_EX'
> 
> This is the code in w32.c:
> 
> #include <psapi.h>
> /* This either is not in psapi.h or guarded by higher value of
>    _WIN32_WINNT than what we use.  */
> typedef struct _PROCESS_MEMORY_COUNTERS_EX {
> 
> However since the update of w32api-3.15-1
> <http://cygwin.com/ml/cygwin-announce/2010-08/msg00033.html>
> on the 28 August struct _PROCESS_MEMORY_COUNTERS_EX is defined.

Can you show its definition in w32api 3.15-1, and also tell which
header defines it?

Thanks.