components/mysql-5-1/patches/inline.patch
changeset 444 a2a87847a213
equal deleted inserted replaced
443:6e40aa5a30d8 444:a2a87847a213
       
     1 --- storage/innobase/include/univ.i	Mon Jul 13 16:12:14 2009
       
     2 +++ storage/innobase/include/univ.i.org	Thu May 12 23:27:42 2011
       
     3 @@ -56,9 +56,9 @@
       
     4  # endif
       
     5  
       
     6  /* We only try to do explicit inlining of functions with gcc and
       
     7 -Microsoft Visual C++ */
       
     8 +Microsoft Visual C++  and Oracle Compilers */
       
     9  
       
    10 -# if !defined(__GNUC__)
       
    11 +# if !defined(__GNUC__) && !defined(__SUNWSPRO_C)
       
    12  #  undef  UNIV_MUST_NOT_INLINE			/* Remove compiler warning */
       
    13  #  define UNIV_MUST_NOT_INLINE
       
    14  # endif