Re: [PATCH] block-sha1: Windows declares ntohl() in winsock2.h
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Aug 20, 2009, 02:30 UTC
- Message-ID
- <alpine.LFD.2.01.0908191929350.3158@localhost.localdomain>
- In-Reply-To
- <alpine.LFD.2.00.0908192201180.6044@xanadu.home>
On Wed, 19 Aug 2009, Nicolas Pitre wrote:
> > I think the best solution in this case might simply be to add something > like this somewhere at the top of git-compat-util.h after the system > includes:
I think we can just test __i386.
Gcc defines that one too (in fact, in general, gcc always defines both the __x and the __x__ versions, although I'm sure there are exceptions)
Linus