mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
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-----
This commit is contained in:
parent
6869b242bc
commit
82f810c4fa
@ -42,7 +42,7 @@ struct hunklist {
|
||||
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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user