Subject: bug#720: Patch to fix CVS Emacs compilation error on Windows XP SP2.

From: Stefan Monnier <[email-masked]>
Date: Fri, 15 Aug 2008 15:34:36 -0400

> "Not implemented"?  I'm not sure we want to support such a deficient
> compiler.

Indeed we don't.

> How about this:

>   DWORD tot_hi = memstex.ullTotalPhys >> 32;
>   DWORD tot_md = (memstex.ullTotalPhys & 0x00000000ffffffffLL) >> 10;
>   DWORD tot_lo = memstex.ullTotalPhys % 1024LL;
>   totphys = tot_hi * 4194304.0 + tot_md + tot_lo / 1024.0;

> Does this work?

Please don't install such hideous code just to work around a deficiency
in an obsolete proprietary compiler.  Especially since there's
a perfectly good Free alternative available.

        Stefan