openbsd-ports/databases/mysql/patches/patch-innobase_include_univ_i
2002-12-14 23:56:43 +00:00

18 lines
590 B
Plaintext

$OpenBSD: patch-innobase_include_univ_i,v 1.2 2002/12/14 23:56:43 brad Exp $
--- innobase/include/univ.i.orig Thu Oct 10 06:17:25 2002
+++ innobase/include/univ.i Tue Nov 26 21:18:01 2002
@@ -118,12 +118,8 @@ memory is read outside the allocated blo
#define UNIV_INLINE __inline
#else
/* config.h contains the right def for 'inline' for the current compiler */
-#if (__GNUC__ == 2)
-#define UNIV_INLINE extern inline
-#else
-/* extern inline doesn't work with gcc 3.0.2 */
+/* mysql people don't understand extern inline */
#define UNIV_INLINE static inline
-#endif
#endif
#else