Fixed solaris 64 bit test.
authorMonty Taylor <mordred@inaugust.com>
Sat, 19 Dec 2009 00:18:49 +0000 (16:18 -0800)
committerMonty Taylor <mordred@inaugust.com>
Sat, 19 Dec 2009 00:18:49 +0000 (16:18 -0800)
clients/ms_atomic.h

index c4f9a9475c31906e5fd4da9b576292d05bf6b827..186066369bc2bbb517ef198f5fb23ab40a08b6ff 100644 (file)
@@ -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))