|
From: | Stefan Monnier |
Subject: | bug#720: Patch to fix CVS Emacs compilation error on Windows XP SP2. |
Date: | Fri, 15 Aug 2008 15:34:36 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
> "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
[Prev in Thread] | Current Thread | [Next in Thread] |