RE: Tiny issues with BSD Sockets
RE: Tiny issues with BSD Sockets
- Subject: RE: Tiny issues with BSD Sockets
- From: "Wade Williams \(wwilliam\)" <email@hidden>
- Date: Thu, 29 May 2003 09:02:30 -0500
The problem is you're using sockets with MSL, which has some definitions
which conflict. Hopefully Metrowerks will fix this problem for CW 9.
Until then, you have two choices:
1) Remove the MSL and use the BSD C library
2) #define __PPC_LIMITS_H_ and _SYS_SIGNAL_H (I do it in a prefix file)
- this will remove the conflicts and allow your code to work with MSL
Wade
>
-----Original Message-----
>
From: email@hidden
>
[mailto:email@hidden] On Behalf Of
>
Stiphane Pinel
>
Sent: Thursday, May 29, 2003 6:56 AM
>
To: email@hidden
>
Subject: Tiny issues with BSD Sockets
>
>
>
Hello,
>
>
I have a little problem trying to compile (CW 8.3) a project
>
that uses
>
BSD Sockets:
>
>
When I include netdb.h (in order to use struct hostent and
>
gethostbyname()), I get
>
26 errors complaining that some of the defines are redeclared in
>
signal.h and limit.h.
>
>
And I don't know how to solve the problem...
>
>
Any help would be really appreciated ;-)
>
>
Thanks in advance !
>
>
--------------------------------------------------------------
>
----------
>
-------------------------
>
Stiphane Pinel
>
--------------------------------------------------------------
>
----------
>
-------------------------
>
_______________________________________________
>
macnetworkprog mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/ma> cnetworkprog
>
Do
>
not post admin requests to the list. They
>
will be ignored.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.