Re: [Plib-devel] netScoket patch for Mac OS X
Brought to you by:
sjbaker
From: John F. F. <joh...@cy...> - 2008-07-13 02:25:39
|
Sorry about the delay, but I have just put the patch in. Please download the new SVN version and make sure I've done it correctly. - John -----Original Message----- From: Tatsuhiro Nishioka Sent: Sunday, June 29, 2008 10:58 AM To: pli...@li... Subject: [Plib-devel] netScoket patch for Mac OS X Hi there, Ever since Mac OS X 10.5.2, netSocket.h/cxx have got compilation errors due to changes in sockaddr_in. Thus I made a very simple patch to avoid this problem (I guess Apple cut out the backward compatibility of sockaddr_in, but not so sure on this). Though I think netSocket should encapsulate the sockaddr_in in smarter way like having sockaddr_in inside netSocket class, I didn't try that because of my lack of time. Anyway, please apply this patch to svn. I believe this patch won't affect any other platforms but feedbacks from other platforms are very welcome. PLIB with this patch also works on Mac OS 10.5.1 or earlier including 10.4.x. Best Regards, Tat << File: PLIB-MacOSX-SockAddrIn.diff >> << File: ATT00001.txt >> << File: ATT00002.txt >> |