projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
8c0dca3
)
Fixed solaris 64 bit test.
author
Monty Taylor
<mordred@inaugust.com>
Sat, 19 Dec 2009 00:18:49 +0000
(16:18 -0800)
committer
Monty Taylor
<mordred@inaugust.com>
Sat, 19 Dec 2009 00:18:49 +0000
(16:18 -0800)
clients/ms_atomic.h
patch
|
blob
|
history
diff --git
a/clients/ms_atomic.h
b/clients/ms_atomic.h
index c4f9a9475c31906e5fd4da9b576292d05bf6b827..186066369bc2bbb517ef198f5fb23ab40a08b6ff 100644
(file)
--- a/
clients/ms_atomic.h
+++ b/
clients/ms_atomic.h
@@
-15,7
+15,7
@@
#if defined(__SUNPRO_C)
# define _KERNEL
# include <atomic.h>
-# 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))