# HG changeset patch # User mpm@selenic.com # Date 1119547350 28800 # Node ID f81a011fba3db3d9013b2c2e0ef50369f02f6efe # Parent b38deaf7873ed0f82c956eea138a3323a2c9e902 Use __inline instead of inline -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Use __inline instead of inline This should let us compile bdiff.c on the other OS. manifest hash: c1233bb3c7fc060e49dbd2597c122d903797db9e -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCuu/WywK+sNU5EO8RAtqvAKC0d8Kv8He6xNCwmFnvKcff9BT4gACeLq7n 9JDFxYtWMrgjwlShfay1nL4= =GDFt -----END PGP SIGNATURE----- diff -r b38deaf7873e -r f81a011fba3d mercurial/bdiff.c --- a/mercurial/bdiff.c Wed Jun 22 22:33:30 2005 -0800 +++ b/mercurial/bdiff.c Thu Jun 23 09:22:30 2005 -0800 @@ -42,7 +42,7 @@ struct hunk *base, *head; }; -static inline uint32_t rol32(uint32_t word, unsigned int shift) +static __inline uint32_t rol32(uint32_t word, unsigned int shift) { return (word << shift) | (word >> (32 - shift)); }