Print this page
2169 arpa/nameser_compat.h: wrong macros
Reviewed by: Dan McDonald <danmcd@omniti.com>

@@ -63,12 +63,10 @@
  */
 
 #ifndef _ARPA_NAMESER_COMPAT_H
 #define _ARPA_NAMESER_COMPAT_H
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #ifdef  __cplusplus
 extern "C" {
 #endif
 
 #define __BIND          19950621        /* (DEAD) interface version stamp. */

@@ -108,19 +106,19 @@
 #endif /* linux */
 #endif /* BSD */
 #endif /* BYTE_ORDER */
 
 #if !defined(BYTE_ORDER) || \
-        (BYTE_ORDER != BIG_ENDIAN && BYTE_ORDER != LITTLE_ENDIAN && \
-    BYTE_ORDER != PDP_ENDIAN)
-        /*
+        ((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";
+#error "Undefined or invalid BYTE_ORDER";
 #endif
 
 /*
  * Structure for query header.  The order of the fields is machine- and
  * compiler-dependent, depending on the byte/bit order and the layout