[splint-discuss] Patch for splint to compile on mac os x
Marian Such
toxygen1 at gmail.com
Wed Aug 6 11:59:37 PDT 2008
Hello,
here is patch to make splint compile without error on Mac OS X.
# diff -u src/osd.c src/osd_new.c
--- src/osd.c 2007-07-14 00:18:20.000000000 +0200
+++ src/osd_new.c 2008-08-06 20:41:21.000000000 +0200
@@ -515,6 +515,8 @@
{
# if defined (WIN32) || defined (OS2) && defined (__IBMC__)
int pid = _getpid ();
+# elif __APPLE__
+ __darwin_pid_t pid = getpid ();
# else
__pid_t pid = getpid ();
# endif
Regards
Marian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.cs.virginia.edu/pipermail/splint-discuss/attachments/20080806/f48b34ab/attachment.html
More information about the splint-discuss
mailing list