From: Monty Taylor Date: Sat, 19 Dec 2009 00:18:49 +0000 (-0800) Subject: Fixed solaris 64 bit test. X-Git-Tag: 0.37~51^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=6625ca5184d19871b26fb9f45865d01eec3a5e89;p=m6w6%2Flibmemcached Fixed solaris 64 bit test. --- diff --git a/clients/ms_atomic.h b/clients/ms_atomic.h index c4f9a947..18606636 100644 --- a/clients/ms_atomic.h +++ b/clients/ms_atomic.h @@ -15,7 +15,7 @@ #if defined(__SUNPRO_C) # define _KERNEL # include -# if defined(_INT64_TYPE) +# if SIZEOF_SIZE_T == 8 # define atomic_add_size(X, Y) atomic_add_64((X), (Y)) # define atomic_add_size_nv(X, Y) atomic_add_64((X), (Y)) # define atomic_dec_size(X, Y) atomic_add_64((X), (Y))