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]

Re: [PATCH] [libmudflap] Fix PR 12670 fix build of libmudflap on Darwin 6.x


On Dec 7, 2003, at 09:50, Andrew Pinski wrote:
The problem on Darwin 6.x (and some other targets like OpenBSD), socklen_t is not
typedef at all and needs some autoconf to fix this generically, I basically stole
the logic from libjava.



OK?


Thanks,
Andrew Pinski

ChangeLog:
	* configure.in: Add check for see if
	socklen_t typedef is in sys/socket.h.
	* mf-hooks1.c: Add define if socklen_t
	is not typedef.
	* mf-hooks2.c: Likewise.
	* mf-hooks3.c: Likewise.
	* config.h.in: Regen.
	* configure: Regen.


I applied the patch after an approval from Frank Ch. Eigler in a private email.

Thanks,
Andrew Pinski


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