This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

[PATCH] Fix NetBSD CPP specs for -pthread


This fixes missing -D_REENTRANT -D_PTHREADS when -pthread is
specified on the command line.  This is particularly important
for applications which use <stdio.h>.

Committed to mainline and 3.3 branch.

	* config/netbsd.h: Update copyright years.
	(NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if
	-pthread is specified on the command line.

-- 
        -- Jason R. Thorpe <thorpej at wasabisystems dot com>

Attachment: nbsd-cpp-patch
Description: Text document


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