View | Details | Raw Unified | Return to bug 64362
Collapse All | Expand All

(-)TCPstream.cc (-1 / +1 lines)
Lines 44-50 Link Here
44
{
44
{
45
                                // Convertion between the host and the network
45
                                // Convertion between the host and the network
46
                                // byte orders
46
                                // byte orders
47
#if !defined(htons) && !defined(linux)
47
#if !defined(htons) && !defined(linux) && !defined(_MACHINE_ENDIAN_H_)
48
unsigned short htons(unsigned int data);        // For a short data item
48
unsigned short htons(unsigned int data);        // For a short data item
49
unsigned short ntohs(unsigned int data);        // For a short data item
49
unsigned short ntohs(unsigned int data);        // For a short data item
50
unsigned long  htonl(unsigned long data);       // For a long data item
50
unsigned long  htonl(unsigned long data);       // For a long data item

Return to bug 64362