Alexandre Julliard wrote:
Marcus Meissner <marcus(a)jet.franken.de> writes:
gcc 3.5 no longer likes our own OFFSETOF() macro in winebuild, so we should use the standard one from <stddef.h>
Not all platforms have offsetof (or even stddef.h). What's wrong with our definition? offsetof is ANSI C, see http://www.parallab.uib.no/SGI_bookshelves/SGI_Developer/books/CLanguageRef/... which states:
Recommended Practices 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 ? Regards Dominik -- Dominik Strasser | Phone: +49 89 234-43691 Infineon Technologies AG | Fax: +49 89 234-26997 CL DAT DF V | E-Mail:Dominik.Strasser(a)infineon.com D-81730 Muenchen | Room: 53-263