This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

pthreads define on Solaris


On Solaris 2.5.1 using POSIX threads is controlled by either
_POSIX_C_SOURCE >= 199506L or _POSIX_PTHREAD_SEMANTICS
according to the getpwnam_r manpage.
Should the pthreads entry in the specs set _POSIX_PTHREAD_SEMANTICS 
or should this be setup based on autoconf.

gcc/config/sparc/sol2.h:%{pthreads:-D_REENTRANT -D_PTHREADS} \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]