Re: [PATCH] block-sha1: Windows declares ntohl() in winsock2.h
- From
Sebastian Schuberth <sschuberth@gmail.com>
- Date
- Aug 18, 2009, 16:23 UTC
- Message-ID
- <bdca99240908180923x49213f30q79cf9424c6aa8202@mail.gmail.com>
- In-Reply-To
- <alpine.LFD.2.01.0908180906441.3162@localhost.localdomain>
On Tue, Aug 18, 2009 at 18:08, Linus Torvalds<torvalds@linux-foundation.org> wrote:
Show 7 quoted lines
>> I'd suggest not using a gcc builtin, since if you're using gcc you might >> as well just use inline asm that has been around forever (unlike the >> builtin). > > That seems to be what glibc does too. > > Here's a patch.
Looks good to me, compiles & runs fine on Windows (with Hannes' patch also applied).
-- Sebastian Schuberth