aboutsummaryrefslogtreecommitdiffstats
path: root/atomic/unix/ppc.c
diff options
context:
space:
mode:
Diffstat (limited to 'atomic/unix/ppc.c')
-rw-r--r--atomic/unix/ppc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/atomic/unix/ppc.c b/atomic/unix/ppc.c
index ae8d503cc4d2..1823fe81c598 100644
--- a/atomic/unix/ppc.c
+++ b/atomic/unix/ppc.c
@@ -26,7 +26,11 @@
APR_DECLARE(apr_status_t) apr_atomic_init(apr_pool_t *p)
{
+#if defined (NEED_ATOMICS_GENERIC64)
+ return apr__atomic_generic64_init(p);
+#else
return APR_SUCCESS;
+#endif
}
APR_DECLARE(apr_uint32_t) apr_atomic_read32(volatile apr_uint32_t *mem)