From 1589683c6dec781cdd7fd0c226157fb1dc7779a2 Mon Sep 17 00:00:00 2001 From: jsm28 Date: Tue, 15 Mar 2005 17:37:03 +0000 Subject: * inclhack.def (hpux_htonl): New fix. * tests/base/netinet/in.h: New test. * fixincl.x: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96522 138bc75d-0d04-0410-961f-82ee72b054a4 --- fixincludes/tests/base/netinet/in.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 fixincludes/tests/base/netinet/in.h (limited to 'fixincludes/tests/base/netinet') diff --git a/fixincludes/tests/base/netinet/in.h b/fixincludes/tests/base/netinet/in.h new file mode 100644 index 00000000000..2d7f7b8522f --- /dev/null +++ b/fixincludes/tests/base/netinet/in.h @@ -0,0 +1,24 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/netinet/in.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( HPUX_HTONL_CHECK ) +#if 1 +/* + * Macros for number representation conversion. + */ +#ifndef ntohl +#define ntohl(x) (x) +#define ntohs(x) (x) +#define htonl(x) (x) +#define htons(x) (x) +#endif +#endif /* ! _XOPEN_SOURCE_EXTENDED */ +#endif /* HPUX_HTONL_CHECK */ -- cgit v1.2.1