__sparc__ not defined with Forte C

Alexandre Julliard julliard at winehq.com
Mon Jul 15 20:49:04 CDT 2002


Gregg Mattinson <gm138242 at scot.canada.sun.com> writes:

> ChangeLog: dlls/ntdll/signal_sparc.c include/basetsd.h
>            include/wine/port.h server/context_sparc.c
>  - __sparc__ is not defined with Forte C, but __sparc is defined with both Forte 
> and GCC.  Same goes for __sun__

If __sparc and __sun work for all compilers we should use them
everywhere, no need to try to support other forms. Otherwise it should
be done with a configure test like we do for __i386__.

>  - Forte C doesn't like @function.  Replaced it with 2.

This needs a configure test. A #ifdef SUNPRO_C is almost always the
wrong thing to do.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list