httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: [PATCH] src/lib/apr/threads.m4
Date Thu, 27 Apr 2000 11:33:06 GMT
> +  case "$host_alias" in
> +  *solaris*)
> +    PTHREAD_FLAGS="-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT";;
> +  *freebsd*)
> +    PTHREAD_FLAGS="-D_REENTRANT -D_THREAD_SAFE";;
> +  *linux*)
> +    PTHREAD_FLAGS="-D_REENTRANT";;
> +  *aix*)
> +    PTHREAD_FLAGS="-D_THREAD_SAFE";;
> +  *irix*)
> +    PTHREAD_FLAGS="-D_POSIX_THREAD_SAFE_FUNCTIONS";;
> +  *hpux*)
> +    PTHREAD_FLAGS="-D_REENTRANT";;
>    esac
> -  
> -dnl This works for now..
> -  CFLAGS="$CFLAGS -D_REENTRANT"

Can you make us feel good that _REENTRANT is not needed anywhere but
where the new code defines it?  Previously, it was defined everywhere
and I doubt it did any harm.  Now, it is not defined except on a few
platforms.

Thanks,

Jeff
-- 
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
     http://www.geocities.com/SiliconValley/Park/9289/
          Born in Roswell... married an alien...

Mime
View raw message