aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/tests/base/netinet/in.h
diff options
context:
space:
mode:
author(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-02 00:35:00 +0000
committer(no author) <(no author)@138bc75d-0d04-0410-961f-82ee72b054a4>2005-07-02 00:35:00 +0000
commit33c6ff0f4f4f35d7dae7bcdac8d429ab312e2b5e (patch)
tree89947b04b5c2fbd530076237357ede702d3d6c22 /fixincludes/tests/base/netinet/in.h
parent0fcc981fa6eb41869dce802e289b012f4c3726be (diff)
This commit was manufactured by cvs2svn to create tagapple/gcc-5208
'apple-gcc-5208'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/tags/apple-gcc-5208@101526 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'fixincludes/tests/base/netinet/in.h')
-rw-r--r--fixincludes/tests/base/netinet/in.h24
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 */