PATCH: use standard offsetof()

Alexandre Julliard julliard at winehq.org
Wed Sep 8 12:28:29 CDT 2004


Dominik Strasser <dominik.strasser at infineon.com> writes:

> Follow these recommendations as you code:
>
> ...
>        Use the offsetof() macro to derive structure member
> offsets. The offsetof() macro is in <stddef.h>.
>
>
> Which platforms are still not ANSI C nowadays ?

I don't know about nowadays, but I know we encountered that problem at
some point. Anyway I have since changed the code to not require
offsetof at all.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list