* grub-core/fs/zfs/zfs_lz4.c: Check that __INTEL_COMPILER is

defined before trying to use it.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-10-18 16:49:17 +02:00
parent bf919aa977
commit 97dfe7e46b
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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)