On Fri, Dec 12, 2003 at 05:47:23PM -0000, Jeff Trawick wrote:
> trawick     2003/12/12 09:47:23
> 
>   Modified:    atomic/unix apr_atomic.c
>   Log:
>   enable the x86 atomic code on Solaris/x86

Any guesses whether that will work with the vendor cc on Solaris or will
this need __GNUC__ protection now too?

...
>   --- apr_atomic.c    9 Dec 2003 22:20:22 -0000       1.38
>   +++ apr_atomic.c    12 Dec 2003 17:47:23 -0000      1.39
>   @@ -88,7 +88,7 @@
>    
>    #endif /* __FreeBSD__ && !__i386__ */
>    
>   -#if (defined(__linux__) || defined(__EMX__) || defined(__FreeBSD__)) \
>   +#if (defined(__linux__) || defined(__sun__) || defined(__EMX__) || 
> defined(__FreeBSD__)) \
>            && defined(__i386__) && !APR_FORCE_ATOMIC_GENERIC
>    
>    APR_DECLARE(apr_uint32_t) apr_atomic_cas32(volatile apr_uint32_t *mem, 
>   
>   4
>   

Reply via email to