[splint-discuss] Patch for splint to compile on mac os x

Bill Pringlemeir splint at sympatico.ca
Wed Aug 6 20:54:05 PDT 2008


On 6 Aug 2008, toxygen1 at gmail.com wrote:
>
> but pid_t is more correct I guess. Can someone commit it to cvs rep?
>

I believe the default case should work for your platform now.  If a
platform requires "__pid_t", then this should probably be conditional.
I will have broken such a platform if it exists.

revision 1.44
date: 2008/08/07 02:51:59;  author: bpringlemeir;  state: Exp;  lines: +2 -2
Allow compile on apple platforms. osd.c
Use pid_t instead of __pid_t as per open group.

diff -r1.43 -r1.44
519c519
<   __pid_t pid = getpid ();
---
>   pid_t pid = getpid ();
865c865
< #else if defined (OS2)
---
> #elif defined (OS2)

-- 
My cousin  is an agoraphobic homosexual,  which makes it  kind of hard
for him to come out of the closet. - Bill Kelly



More information about the splint-discuss mailing list