* grub-core/fs/zfs/zfs_lz4.c: Check that __INTEL_COMPILER is
defined before trying to use it.
This commit is contained in:
parent
bf919aa977
commit
97dfe7e46b
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/fs/zfs/zfs_lz4.c: Check that __INTEL_COMPILER is
|
||||||
|
defined before trying to use it.
|
||||||
|
|
||||||
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-10-18 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/fs/affs.c (grub_affs_create_node): Fix uninited value
|
* grub-core/fs/affs.c (grub_affs_create_node): Fix uninited value
|
||||||
|
|
|
@ -58,7 +58,7 @@ static int LZ4_uncompress_unknownOutputSize(const char *source, char *dest,
|
||||||
|
|
||||||
#define GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
|
#define GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
|
||||||
|
|
||||||
#if (GCC_VERSION >= 302) || (__INTEL_COMPILER >= 800) || defined(__clang__)
|
#if (GCC_VERSION >= 302) || (defined (__INTEL_COMPILER) && __INTEL_COMPILER >= 800) || defined(__clang__)
|
||||||
#define expect(expr, value) (__builtin_expect((expr), (value)))
|
#define expect(expr, value) (__builtin_expect((expr), (value)))
|
||||||
#else
|
#else
|
||||||
#define expect(expr, value) (expr)
|
#define expect(expr, value) (expr)
|
||||||
|
|
Loading…
Reference in a new issue