Re: W32API fixes + ddk/kbdmou.h

Danny Smith <[email protected]> Wed, 12 May 2004 01:49:40 +0100
Newsgroups gmane.comp.gnu.mingw.patches
Message-ID <000b01c437bb$034c2370$016d65da@DANNY>
Why is this necessary? Doesn't long long member force 8 byte alignment anyway?

-typedef union _LARGE_INTEGER {
+typedef union DECLSPEC_ALIGN(8) _LARGE_INTEGER {


Uhhh, I'll answer my own question: Not if user overrides default max alignment
with -mno-align-double (which will break other things as well)

Anyway should do ULARGE_INTEGER as well.


Danny



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3