Re: [PATCH] block-sha1: Windows declares ntohl() in winsock2.h
From: Nicolas Pitre <hidden> Date: 2016-06-15 22:47:16
On Tue, 18 Aug 2009, Junio C Hamano wrote:
Meh, our mails crossed. I'll chuck this one and use your
[PATCH] make sure byte swapping is optimal for git
patch. Do you want default_swab32 be mmoved inside the
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
block?
Not necessarily. It is generic code that other compilers/architectures
might use as well.
Nicolas