Hi Victor, Thanks for your reply! So I guess it's safe to define that there in rtalsa.c and the fix should be alright? I guess it's not really safe to define it globally as maybe the code isn't all posix-compliant when on Windows? Thanks! steven On 3/26/07, Victor Lazzarini wrote: > I think that token identifies the source as posix-compliant. > > Victor > > At 10:02 26/03/2007, you wrote: > >Hi All, > > > >I did a yum upgrade on FC6 machine here yesterday and it downloaded > >alsa-lib-devel for 1.0.14rc1 of alsa. After that, I was unable to > >compile InOut/rtalsa.c due to a redefinition in alsa/global.h. I was > >able to get around that by adding the following to rtalsa.c: > > > > > >#ifndef _POSIX_C_SOURCE > >#define _POSIX_C_SOURCE 1 > >#endif > > > >just before #include . Now, I don't know if this is the > >correct solution, as I don't know what _POSIX_C_SOURCE is and if it > >meant to be defined like this in code or perhaps something we should > >set as a commadline macro definition in Scons so that it covers all of > >our code or what. > > > >Any thoughts? > > > >I've gone ahead and check this in as anyone who might come across this > >will need something for now. > > > >Thanks, > >steven > > > >------------------------------------------------------------------------- > >Take Surveys. Earn Cash. Influence the Future of IT > >Join SourceForge.net's Techsay panel and you'll get the chance to share your > >opinions on IT & business topics through brief surveys-and earn cash > >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >_______________________________________________ > >Csound-devel mailing list > >Csound-devel@lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/csound-devel > > Victor Lazzarini > Music Technology Laboratory > Music Department > National University of Ireland, Maynooth > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net