Browse Source

Fix build issue on 32-bit Solaris using gcc

pull/374/head
Mikael Ronstrom 17 years ago
parent
commit
2c82616b23
  1. 7
      storage/innobase/include/univ.i

7
storage/innobase/include/univ.i

@ -67,6 +67,13 @@ of the 32-bit x86 assembler in mutex operations. */
# define UNIV_MUST_NOT_INLINE
# 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
# define HAVE_PWRITE
# endif

Loading…
Cancel
Save