author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | |
Wed, 23 Jun 2010 19:47:02 +0000 (20:47 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 28 Jun 2010 04:59:32 +0000 (21:59 -0700) | ||
commit | 078e9bce1e8e2484d33d7400ae02c10954fd93ac | |
tree | 74a0bf81ac8c04abb87da3cb6b88ab6e0c8a1eca | tree | snapshot |
parent | 492b10766f499b60bdc867c253f36d274ac51538 | commit | diff |
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>
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 | diff | blob | history |