Code

block-sha1: guard gcc extensions with __GNUC__
authorNicolas Pitre <nico@cam.org>
Tue, 18 Aug 2009 19:37:22 +0000 (15:37 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Aug 2009 21:18:36 +0000 (14:18 -0700)
commite9c5dcd1313dd4e2f606419ce3d228c99fae2c40
treeea4182491139b78e602ada9a1ad1345f5f4dbcea
parent51ea55190b6e72c77c96754c1bf2f149a4714848
block-sha1: guard gcc extensions with __GNUC__

With this, the code should now be portable to any C compiler.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
block-sha1/sha1.c