Re: [PATCH] block-sha1: Windows declares ntohl() in winsock2.h
From: Junio C Hamano <hidden> Date: 2016-06-15 22:47:16
Junio C Hamano [off-list ref] writes:
Another issue, especially with your "openssl sha1 removal" patch, is if we
can assume gcc everywhere. As far as I can tell, block-sha1/sha1.c will
be the first unconditional use of inline asm or statement expression on
i386/amd64. Are folks on Solaris and other platforms Ok with this?
Ahhh, your bswap.h is a no-op unless you use gcc, so my worry was
unfounded.