|
From: creedon <icr...@us...> - 2006-01-29 23:26:07
|
Update of /cvsroot/frontierkernel/Frontier/Common/headers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2487 Modified Files: CallMachOFrameWork.h Log Message: define F_GETFL, F_SETFL, and O_NONBLOCK for CodeWarrior compilation Index: CallMachOFrameWork.h =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/headers/CallMachOFrameWork.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** CallMachOFrameWork.h 15 Jan 2005 16:43:09 -0000 1.6 --- CallMachOFrameWork.h 29 Jan 2006 23:25:59 -0000 1.7 *************** *** 29,32 **** --- 29,41 ---- #define callmachoframework + /* 2006-01-29 creedon - define the following for CodeWarrior compilation because it doesn't have these defined in its headers, as Xcode does */ + + #ifdef __MWERKS__ + #define F_GETFL 3 /* get file status flags */ + #define F_SETFL 4 /* set file status flags */ + #define O_NONBLOCK 0x0004 /* no delay */ + #endif + + extern boolean unixshellcall (Handle hcommand, Handle hreturn); |