msvc: Select the "fast" definition of the {get,put}_be32() macros
commit078e9bce1e8e2484d33d7400ae02c10954fd93ac
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Wed, 23 Jun 2010 19:47:02 +0000 (23 20:47 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 28 Jun 2010 04:59:32 +0000 (27 21:59 -0700)
tree74a0bf81ac8c04abb87da3cb6b88ab6e0c8a1eca
parent492b10766f499b60bdc867c253f36d274ac51538
msvc: Select the "fast" definition of the {get,put}_be32() macros

On Intel machines, the msvc compiler defines the CPU architecture
macros _M_IX86 and _M_X64 (equivalent to __i386__ and __x86_64__
respectively). Use these macros in the pre-processor expression
to select the "fast" definition of the {get,put}_be32() macros.

Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Acked-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
block-sha1/sha1.c