Reduce __attribute__(x) to nothing if __GNUC__ is unset

Vincent Béron vberon at mecano.gme.usherb.ca
Sun Apr 3 15:11:37 CDT 2005


This lets us get rid of various #ifdef __GNUC__, as well as use
DECLSPEC_NORETURN at least everywhere winnt.h is included, without fear
of conflicts.

Would this be better placed in wine/port.h?

Changelog:
Reduce __attribute__(x) to nothing if not on GCC.

Vincent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attr-include.diff
Type: text/x-patch
Size: 2908 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050403/9129c6f4/attr-include.bin


More information about the wine-patches mailing list