summaryrefslogtreecommitdiff
path: root/storage/innobase/include/univ.i
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2008-10-16 17:04:44 +0200
committerMikael Ronstrom <mikael@mysql.com>2008-10-16 17:04:44 +0200
commitb553ba77e7970a0f51169e0af5bba6794a946196 (patch)
treeb1572746e9ca6e72074683501a04999a3cf8793d /storage/innobase/include/univ.i
parent3c24289f24139965434cd7ac93d938a09b1ad815 (diff)
downloadmariadb-git-b553ba77e7970a0f51169e0af5bba6794a946196.tar.gz
Compile fix, sun_prefetch.h only available in Sun Studio
Diffstat (limited to 'storage/innobase/include/univ.i')
-rw-r--r--storage/innobase/include/univ.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/include/univ.i b/storage/innobase/include/univ.i
index e12e4d956df..58acdb4bb7a 100644
--- a/storage/innobase/include/univ.i
+++ b/storage/innobase/include/univ.i
@@ -58,7 +58,7 @@ of the 32-bit x86 assembler in mutex operations. */
/* We only try to do explicit inlining of functions with gcc and
Sun Studio */
-# if !defined(__GNUC__) && !( defined(sun) || defined(__sun) )
+# if !defined(__GNUC__) && !defined(__SUNPRO_C)
# undef UNIV_MUST_NOT_INLINE /* Remove compiler warning */
# define UNIV_MUST_NOT_INLINE
# endif