~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/atomics.h

  • Committer: Brian Aker
  • Date: 2010-01-04 00:33:03 UTC
  • mfrom: (1259.3.7 remove-mydir)
  • Revision ID: brian@gaz-20100104003303-wkp8mbm5991kxro8
Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
#  define ATOMIC_TRAITS internal::pthread_traits
32
32
# endif
33
33
 
34
 
# if (SIZEOF_SIZE_T >= SIZEOF_LONG_LONG) || (!defined(HAVE_GCC_ATOMIC_BUILTINS) || !defined(__SUNPRO_CC))
 
34
# if (SIZEOF_SIZE_T >= SIZEOF_LONG_LONG) || (!defined(HAVE_GCC_ATOMIC_BUILTINS) || !defined(__SUNPRO_CC)) || defined(__ppc__)
35
35
#  include <pthread.h>
36
36
#  include <drizzled/atomic/pthread_traits.h>
37
37
# endif
158
158
 * so we'll use pthread locks to handler 64-bit types on that platforms
159
159
 */
160
160
/* *INDENT-OFF* */
161
 
#  if SIZEOF_SIZE_T >= SIZEOF_LONG_LONG
 
161
# if !defined(__ppc__) && (defined(_INT64_TYPE) || defined(_LP64))
162
162
__DRIZZLE_DECL_ATOMIC(long long)
163
163
__DRIZZLE_DECL_ATOMIC(unsigned long long)
164
164
#  else