1
1

Only provide OPAL_THREAD_ADD64 if we have 64 bit atomics

This commit was SVN r30339.
Этот коммит содержится в:
Brian Barrett 2014-01-20 20:22:38 +00:00
родитель 26fbb4e77b
Коммит fe093556f7

Просмотреть файл

@ -279,6 +279,7 @@ OPAL_THREAD_ADD32(volatile int32_t *addr, int delta)
return ret;
}
#if OPAL_HAVE_ATOMIC_MATH_64
static inline int64_t
OPAL_THREAD_ADD64(volatile int64_t *addr, int delta)
{
@ -292,6 +293,7 @@ OPAL_THREAD_ADD64(volatile int64_t *addr, int delta)
return ret;
}
#endif
static inline size_t
OPAL_THREAD_ADD_SIZE_T(volatile size_t *addr, int delta)