Commit 38a585c5 authored by Greg Ames's avatar Greg Ames
Browse files

fix a compile failure on platforms where apr_atomic_t is a structure.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95529 13f79535-47bb-0310-9956-ffa450edef68
parent 51db7f2b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -378,7 +378,11 @@ static int create_entity(cache_handle_t *h, request_rec *r,
    }

    /* Finish initing the cache object */
#ifdef USE_ATOMICS
    apr_atomic_set(&obj->refcount, 1);
#else 
    obj->refcount = 1;
#endif
    obj->complete = 0;
    obj->cleanup = 0;
    obj->vobj = mobj;