[PD-cvs] pd/src s_inter.c,1.5.4.14,1.5.4.15
Thomas Grill
xovo at users.sourceforge.net
Sat Jul 30 23:47:53 CEST 2005
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21778/src
Modified Files:
Tag: devel_0_38
s_inter.c
Log Message:
Compilation fix for Windows - there's no kill function. But what to do instead?
Index: s_inter.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/s_inter.c,v
retrieving revision 1.5.4.14
retrieving revision 1.5.4.15
diff -C2 -d -r1.5.4.14 -r1.5.4.15
*** s_inter.c 2 Jul 2005 15:12:12 -0000 1.5.4.14
--- s_inter.c 30 Jul 2005 21:47:51 -0000 1.5.4.15
***************
*** 1386,1392 ****
if (status)
{
/* kill parent thread */
kill(0,9);
! }
sys_microsleep(6e7); /* and sleep for another 60 seconds */
--- 1386,1396 ----
if (status)
{
+ #if defined(__linux__) || defined(IRIX)
/* kill parent thread */
kill(0,9);
! #else
! // TG: What to do for Windows?
! #endif
! }
sys_microsleep(6e7); /* and sleep for another 60 seconds */
More information about the Pd-cvs
mailing list