diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2010-06-23 19:47:02 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-06-28 04:59:32 (GMT) |
commit | 078e9bce1e8e2484d33d7400ae02c10954fd93ac (patch) | |
tree | 74a0bf81ac8c04abb87da3cb6b88ab6e0c8a1eca /notes.c | |
parent | 492b10766f499b60bdc867c253f36d274ac51538 (diff) | |
download | git-078e9bce1e8e2484d33d7400ae02c10954fd93ac.zip git-078e9bce1e8e2484d33d7400ae02c10954fd93ac.tar.gz git-078e9bce1e8e2484d33d7400ae02c10954fd93ac.tar.bz2 |
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>
Diffstat (limited to 'notes.c')
0 files changed, 0 insertions, 0 deletions