Why is _WIN64 not defined as 1 in _cygwin.h?

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Nov 26 10:47:47 GMT 2021

On Nov 25 19:51, Corinna Vinschen wrote:
> On Nov 25 18:06, Z. Majeed wrote:
> > Thanks for clearing that up - I'll send a patch to mingw-w64-public
> > 
> > The porting tip is appreciated - luckily the need for Win32 in the
> > port has been minimal - it may be obviated completely if I can add
> > VmPeak support - and take care of the other issue - a VmSize number
> > that does not match Win32 PagefileUsage
> Yeah, improving Cygwin's /proc/self/status output would be a nice
> option as well, if you'd like to take a stab at it...?

Btw., wouldn't it be great to use your Windows limitMem function as
template to implement getrlimit/setrlimit(RLIMIT_AS) inside Cygwin?


More information about the Cygwin-developers mailing list