From 25bd38b3bbd26d9f1f76dccd5f07a7c1847ebd13 Mon Sep 17 00:00:00 2001 From: calvin Date: Thu, 29 Oct 2009 14:21:15 +0000 Subject: [PATCH] branches/zip: consideration for icc compilers Proposed by MySQL, and approved by Marko. --- include/univ.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/univ.i b/include/univ.i index 0e14f7b1cba..5d0361658af 100644 --- a/include/univ.i +++ b/include/univ.i @@ -237,7 +237,7 @@ by one. */ /* Linkage specifier for non-static InnoDB symbols (variables and functions) that are only referenced from within InnoDB, not from MySQL */ -#if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(UNIV_HOTBACKUP) +#if defined(__GNUC__) && (__GNUC__ >= 4) || defined(__INTEL_COMPILER) # define UNIV_INTERN __attribute__((visibility ("hidden"))) #else # define UNIV_INTERN