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

Marian Such toxygen1 at gmail.com
Thu Aug 7 03:16:55 PDT 2008


Ok, I just did checkout from cvs and the code compiled flawlessly.

regards
Marian

On Aug 7, 2008, at 5:54 AM, Bill Pringlemeir wrote:

> 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
>
> _______________________________________________
> splint-discuss mailing list
> splint-discuss at mail.cs.virginia.edu
> http://www.cs.virginia.edu/mailman/listinfo/splint-discuss



More information about the splint-discuss mailing list