commit | 078e9bce1e8e2484d33d7400ae02c10954fd93ac | [log] [tgz] |
---|---|---|
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | Wed Jun 23 20:47:02 2010 +0100 |
committer | Junio C Hamano <gitster@pobox.com> | Sun Jun 27 21:59:32 2010 -0700 |
tree | 74a0bf81ac8c04abb87da3cb6b88ab6e0c8a1eca | |
parent | 492b10766f499b60bdc867c253f36d274ac51538 [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>