22#include "apr_private.h"
25#if defined(USE_ATOMICS_GENERIC)
27#elif HAVE_ATOMIC_BUILTINS
28# define USE_ATOMICS_BUILTINS
29#elif defined(SOLARIS2) && SOLARIS2 >= 10
30# define USE_ATOMICS_SOLARIS
31#elif defined(__GNUC__) && defined(__STRICT_ANSI__)
34# define USE_ATOMICS_GENERIC
35#elif defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
36# define USE_ATOMICS_IA32
37#elif defined(__GNUC__) && (defined(__powerpc__) \
40# define USE_ATOMICS_PPC
41#elif defined(__GNUC__) && (defined(__s390__) || defined(__s390x__))
42# define USE_ATOMICS_S390
44# define USE_ATOMICS_GENERIC
47#if defined(USE_ATOMICS_GENERIC64)
49#elif HAVE_ATOMIC_BUILTINS64
50# define USE_ATOMICS_BUILTINS64
52# define USE_ATOMICS_GENERIC64
54#if defined(USE_ATOMICS_GENERIC64)
apr_status_t apr__atomic_generic64_init(apr_pool_t *p)