]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Yet *another* #define of ours that an OS also defines; in this case it's
authorguy <guy>
Wed, 27 Jun 2001 05:40:16 +0000 (05:40 +0000)
committerguy <guy>
Wed, 27 Jun 2001 05:40:16 +0000 (05:40 +0000)
T_NULL, defined by some STREAMS/TPI/XTI/TLI/whatever header file in
HP-UX - if it's defined, undefine it before we define it, to squelch
compiler warnings.

nameser.h

index 52c31481d94580ee54ee9d25a629415db4b60175..162b4d2b9933408c187d6141f6b6012606ddc799 100644 (file)
--- a/nameser.h
+++ b/nameser.h
@@ -1,4 +1,4 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/nameser.h,v 1.8 2001-06-26 06:19:03 guy Exp $ (LBL) */
+/* @(#) $Header: /tcpdump/master/tcpdump/nameser.h,v 1.9 2001-06-27 05:40:16 guy Exp $ (LBL) */
 /*
  * Copyright (c) 1983, 1989, 1993
  *     The Regents of the University of California.  All rights reserved.
 
 /*
  * Undefine various #defines from various System V-flavored OSes (Solaris,
- * SINIX) so the compiler doesn't whine that we redefine them.
+ * SINIX, HP-UX) so the compiler doesn't whine that we redefine them.
  */
+#ifdef T_NULL
+#undef T_NULL
+#endif
 #ifdef T_OPT
 #undef T_OPT
 #endif