Thread (11 messages) flat view 11 messages, 4 authors, 2016-06-15

Re: [PATCH] block-sha1: Windows declares ntohl() in winsock2.h

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2016-06-15 22:47:17

Possibly related (same subject, not in this thread)


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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help