From: Nicolas Pitre Date: Tue, 18 Aug 2009 20:10:37 GMT Subject: Re: [PATCH] block-sha1: Windows declares ntohl() in winsock2.h Message-ID: In-Reply-To: On Tue, 18 Aug 2009, Brandon Casey wrote: > The SUNWspro compiler doesn't set __i386__. Instead it sets __i386, and > I think __x86_64 and __amd64 where appropriate. So, compilation with > the SUNWspro compiler on x86 is currently unaffected by these changes and > falls back to the generic routines. > > It seems that v5.10 of the compiler can grok both the __asm__ statements > and the ({...}) naked block notation and passes all of the tests when the > block_sha1 code is modified to add defined(__i386) to each of the macro > statements. Does it really implement the gcc inline assembly syntax? Nicolas