diff options
author | Mikael Ronstrom <mikael@mysql.com> | 2008-10-16 17:04:44 +0200 |
---|---|---|
committer | Mikael Ronstrom <mikael@mysql.com> | 2008-10-16 17:04:44 +0200 |
commit | b553ba77e7970a0f51169e0af5bba6794a946196 (patch) | |
tree | b1572746e9ca6e72074683501a04999a3cf8793d /storage/innobase/include/univ.i | |
parent | 3c24289f24139965434cd7ac93d938a09b1ad815 (diff) | |
download | mariadb-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.i | 2 |
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 |