Unifdef hpux.

This commit is contained in:
Adam Jackson 2008-07-23 13:43:09 -04:00
parent 5035741fd4
commit 0d785bd635
4 changed files with 3 additions and 16 deletions

View File

@ -84,7 +84,7 @@ SOFTWARE.
#endif /* __arm32__ */ #endif /* __arm32__ */
#if defined (hpux) || defined __hppa__ #if defined __hppa__
#define IMAGE_BYTE_ORDER MSBFirst #define IMAGE_BYTE_ORDER MSBFirst
#define BITMAP_BIT_ORDER MSBFirst #define BITMAP_BIT_ORDER MSBFirst

View File

@ -95,12 +95,6 @@ SOFTWARE.
# endif # endif
#endif #endif
#if defined(hpux)
# include <sys/utsname.h>
# ifdef HAS_IFREQ
# include <net/if.h>
# endif
#else
#if defined(SVR4) || (defined(SYSV) && defined(__i386__)) || defined(__GNU__) #if defined(SVR4) || (defined(SYSV) && defined(__i386__)) || defined(__GNU__)
# include <sys/utsname.h> # include <sys/utsname.h>
#endif #endif
@ -117,7 +111,6 @@ SOFTWARE.
#else /*!__GNU__*/ #else /*!__GNU__*/
# include <net/if.h> # include <net/if.h>
#endif /*__GNU__ */ #endif /*__GNU__ */
#endif /* hpux */
#ifdef SVR4 #ifdef SVR4
#include <sys/sockio.h> #include <sys/sockio.h>
@ -350,7 +343,7 @@ ifioctl (int fd, int cmd, char *arg)
* for this fd and add them to the selfhosts list. * for this fd and add them to the selfhosts list.
*/ */
#if !defined(SIOCGIFCONF) || defined (hpux) && ! defined (HAS_IFREQ) #if !defined(SIOCGIFCONF)
void void
DefineSelf (int fd) DefineSelf (int fd)
{ {

View File

@ -85,16 +85,11 @@ SOFTWARE.
#ifndef WIN32 #ifndef WIN32
#include <sys/socket.h> #include <sys/socket.h>
#ifdef hpux
#include <sys/utsname.h>
#include <sys/ioctl.h>
#endif
#if defined(TCPCONN) || defined(STREAMSCONN) #if defined(TCPCONN) || defined(STREAMSCONN)
# include <netinet/in.h> # include <netinet/in.h>
# include <arpa/inet.h> # include <arpa/inet.h>
# if !defined(hpux)
# ifdef apollo # ifdef apollo
# ifndef NO_TCP_H # ifndef NO_TCP_H
# include <netinet/tcp.h> # include <netinet/tcp.h>
@ -105,7 +100,6 @@ SOFTWARE.
# endif # endif
# include <netinet/tcp.h> # include <netinet/tcp.h>
# endif # endif
# endif
# include <arpa/inet.h> # include <arpa/inet.h>
#endif #endif

View File

@ -102,7 +102,7 @@ SOFTWARE.
#define MAXSELECT (sizeof(fd_set) * NBBY) #define MAXSELECT (sizeof(fd_set) * NBBY)
#ifndef HAS_GETDTABLESIZE #ifndef HAS_GETDTABLESIZE
#if !defined(hpux) && !defined(SVR4) && !defined(SYSV) #if !defined(SVR4) && !defined(SYSV)
#define HAS_GETDTABLESIZE #define HAS_GETDTABLESIZE
#endif #endif
#endif #endif