diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-15 17:37:03 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-03-15 17:37:03 +0000 |
commit | 1589683c6dec781cdd7fd0c226157fb1dc7779a2 (patch) | |
tree | 050ea251e9929f1104cc81881e7449a67339c760 /fixincludes/tests/base/netinet | |
parent | 9b3bbe093b1ed8105de77bfe4d07079c7a7412aa (diff) | |
download | gcc-1589683c6dec781cdd7fd0c226157fb1dc7779a2.tar.gz |
* 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
Diffstat (limited to 'fixincludes/tests/base/netinet')
-rw-r--r-- | fixincludes/tests/base/netinet/in.h | 24 |
1 files changed, 24 insertions, 0 deletions
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 */ |