summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2016-03-11 12:47:04 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2016-03-11 12:47:04 +0000
commit17d5387c0dcc734df77fe6346cd1f6b002d3fe1f (patch)
tree41a35c9d7024a71e2a6dc81c0552008c3ca5dca2
parent3481108a7fc8e2b49ae3b11aae0aba0b393ca895 (diff)
parent6a37fc30652374065d6e4ab52366c499e5a34b66 (diff)
downloadillumos-joyent-17d5387c0dcc734df77fe6346cd1f6b002d3fe1f.tar.gz
[illumos-gate merge]
commit 5566946ddee5d74cd7ce592465b954f7d90f62f7 2169 arpa/nameser_compat.h: wrong macros
-rw-r--r--usr/src/head/arpa/nameser_compat.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/usr/src/head/arpa/nameser_compat.h b/usr/src/head/arpa/nameser_compat.h
index 7df7b90bb0..ae3a925fa5 100644
--- a/usr/src/head/arpa/nameser_compat.h
+++ b/usr/src/head/arpa/nameser_compat.h
@@ -65,8 +65,6 @@
#ifndef _ARPA_NAMESER_COMPAT_H
#define _ARPA_NAMESER_COMPAT_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -110,15 +108,15 @@ extern "C" {
#endif /* BYTE_ORDER */
#if !defined(BYTE_ORDER) || \
- (BYTE_ORDER != BIG_ENDIAN && BYTE_ORDER != LITTLE_ENDIAN && \
- BYTE_ORDER != PDP_ENDIAN)
- /*
- * you must determine what the correct bit order is for
- * your compiler - the next line is an intentional error
- * which will force your compiles to bomb until you fix
- * the above macros.
- */
- error "Undefined or invalid BYTE_ORDER";
+ ((BYTE_ORDER != BIG_ENDIAN) && (BYTE_ORDER != LITTLE_ENDIAN) && \
+ (BYTE_ORDER != PDP_ENDIAN))
+/*
+ * you must determine what the correct bit order is for
+ * your compiler - the next line is an intentional error
+ * which will force your compiles to bomb until you fix
+ * the above macros.
+ */
+#error "Undefined or invalid BYTE_ORDER";
#endif
/*