
|
[beports]
||
[Date Prev]
[05-2008 Date Index]
[Date Next]
||
[Thread Prev]
[05-2008 Thread Index]
[Thread Next]
[beports] curl.diff
- From: "scott mc" <scottmc2@xxxxxxxxx>
- To: beports@xxxxxxxxxxxxx
- Date: Fri, 23 May 2008 15:41:21 -0700
Andreas,
On the Curl.diff you have,
#ifdef __BEOS__
#ifdef __HAIKU__
/* Haiku has FD_SET defined in sys/socket.h and no socket.h */
#include <sys/socket.h>
#else
/* BeOS has FD_SET defined in socket.h */
#include <socket.h>
#endif
#endif
Shouldn't this be rewritten like this, for the day when __BEOS__ is
removed from Haiku? Also what should happen for Bone/Zeta on this?
#if defined __BEOS__ and !defined __HAIKU__
/* BeOS has FD_SET defined in socket.h */
#include <socket.h>
#endif
#ifdef __HAIKU__
* Haiku has FD_SET defined in sys/socket.h and no socket.h */
#include <sys/socket.h>
#endif
Just wondering, so I know how to deal with these kinds of things when
I run into them.
-scott
--
BePorts homepage - http://tools.assembla.com/BePorts
List archives: http://www.freelists.org/archives/beports
Administrative contact: brecht@xxxxxxxxxxx
|

|