Commit 2c82616b authored by Mikael Ronstrom's avatar Mikael Ronstrom

Fix build issue on 32-bit Solaris using gcc

parent 440c2f43
...@@ -67,6 +67,13 @@ of the 32-bit x86 assembler in mutex operations. */ ...@@ -67,6 +67,13 @@ of the 32-bit x86 assembler in mutex operations. */
# define UNIV_MUST_NOT_INLINE # define UNIV_MUST_NOT_INLINE
# endif # endif
/* When on Solaris, gcc, and 32-bit disable inlining */
# if defined(__GNUC__) && defined(UNIV_SOLARIS) && !defined(__x86_64__)
# undef UNIV_MUST_NOT_INLINE
# define UNIV_MUST_NOT_INLINE
# endif
# ifdef HAVE_PREAD # ifdef HAVE_PREAD
# define HAVE_PWRITE # define HAVE_PWRITE
# endif # endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment