summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2016-03-09 20:08:52 -0500
committerDan McDonald <danmcd@omniti.com>2016-03-10 15:02:56 -0500
commit5566946ddee5d74cd7ce592465b954f7d90f62f7 (patch)
treebc964a32b1a405d7b267f76baac9cc0c50d9e2ad
parent573f02443902adab48a475194c301e0266998115 (diff)
downloadillumos-joyent-5566946ddee5d74cd7ce592465b954f7d90f62f7.tar.gz
2169 arpa/nameser_compat.h: wrong macros
Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Lauri Tirkkonen <lotheac@iki.fi> Approved by: Garrett D'Amore <garrett@damore.org>
-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
/*