tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mysql51-server
Hi,
In message <Pine.NEB.4.64.1003080928161.26904%andromeda.ziaspace.com@localhost>
on Mon, 8 Mar 2010 09:30:11 +0000 (UTC),
John Klos <john%ziaspace.com@localhost> wrote:
> Trying to compile database/mysql51-server on a macppc machine running
> netbsd-5 from 22-September-2009 fails. I didn't have any time to try
> anything else, but at least I'd like others to know.
Adding this patch change things better?
--- storage/innodb_plugin/include/os0sync.h.orig 2010-02-04
11:40:00.000000000 +0000
+++ storage/innodb_plugin/include/os0sync.h
@@ -349,7 +349,7 @@ compare to, new_val is the value to swap
(atomic_cas_ulong(ptr, old_val, new_val) == old_val)
# define os_compare_and_swap_lint(ptr, old_val, new_val) \
- ((lint)atomic_cas_ulong((ulong_t*) ptr, old_val, new_val) == old_val)
+ ((lint)atomic_cas_ulong((unsigned long*) ptr, old_val, new_val) ==
old_val)
# ifdef HAVE_IB_ATOMIC_PTHREAD_T_SOLARIS
# if SIZEOF_PTHREAD_T == 4
@@ -374,7 +374,7 @@ Returns the resulting value, ptr is poin
amount of increment. */
# define os_atomic_increment_lint(ptr, amount) \
- atomic_add_long_nv((ulong_t*) ptr, amount)
+ atomic_add_long_nv((unsigned long *) ptr, amount)
# define os_atomic_increment_ulint(ptr, amount) \
atomic_add_long_nv(ptr, amount)
Best regards.
--
Takahiro Kambe <taca%back-street.net@localhost>
Home |
Main Index |
Thread Index |
Old Index