--- a/atomic/win32/apr_atomic.c
+++ b/atomic/win32/apr_atomic.c
@@ -18,7 +18,7 @@
 
 APR_DECLARE(apr_status_t) apr_atomic_init(apr_pool_t *p)
 {
-#if defined (NEED_ATOMICS_GENERIC64)
+#if defined (NEED_ATOMICS_GENERIC64) && !defined(_WIN32)
     return apr__atomic_generic64_init(p);
 #else
     return APR_SUCCESS;
