aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.3/fixincludes/tests/base/netinet/in.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.3/fixincludes/tests/base/netinet/in.h')
-rw-r--r--gcc-4.8.3/fixincludes/tests/base/netinet/in.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/gcc-4.8.3/fixincludes/tests/base/netinet/in.h b/gcc-4.8.3/fixincludes/tests/base/netinet/in.h
new file mode 100644
index 000000000..2d7f7b852
--- /dev/null
+++ b/gcc-4.8.3/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 */